summaryrefslogtreecommitdiff
path: root/astroid/modutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/modutils.py')
-rw-r--r--astroid/modutils.py4
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