Correct a docstring

This commit is contained in:
Dave Halter
2019-03-08 16:35:15 +01:00
parent cd8c9436c5
commit 967d35e4be

View File

@@ -200,7 +200,7 @@ def transform_path_to_dotted(sys_path, module_path):
""" """
Returns the dotted path inside a sys.path as a list of names. e.g. Returns the dotted path inside a sys.path as a list of names. e.g.
>>> calculate_dotted_from_path(["/foo"], '/foo/bar/baz.py') >>> transform_path_to_dotted(["/foo"], '/foo/bar/baz.py')
['bar', 'baz'] ['bar', 'baz']
Returns None if the path doesn't really resolve to anything. Returns None if the path doesn't really resolve to anything.