diff options
author | Florian Bruhin <me@the-compiler.org> | 2015-07-25 16:10:21 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2015-07-25 16:10:21 +0200 |
commit | bb6e0b330dbc439295f5435c96a65f7fad3a7574 (patch) | |
tree | 770648ea66fd1daf37defb96082bdf400f0fdb05 /astroid/modutils.py | |
parent | f22243401b2f72ae3fbd8083f9428e3f2af14168 (diff) | |
download | astroid-git-bb6e0b330dbc439295f5435c96a65f7fad3a7574.tar.gz |
Get rid of logilab.common in doc example.
--HG--
branch : no-logilab-common
Diffstat (limited to 'astroid/modutils.py')
-rw-r--r-- | astroid/modutils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/astroid/modutils.py b/astroid/modutils.py index 168a2798..e5880eb7 100644 --- a/astroid/modutils.py +++ b/astroid/modutils.py @@ -347,8 +347,8 @@ def file_info_from_modpath(modpath, path=None, context_file=None): def get_module_part(dotted_name, context_file=None): """given a dotted name return the module part of the name : - >>> get_module_part('logilab.common.modutils.get_module_part') - 'logilab.common.modutils' + >>> get_module_part('astroid.as_string.dump') + 'astroid.as_string' :type dotted_name: str :param dotted_name: full name of the identifier we are interested in |