mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 05:54:25 +08:00
Correct a docstring
This commit is contained in:
@@ -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.
|
||||
|
||||
>>> calculate_dotted_from_path(["/foo"], '/foo/bar/baz.py')
|
||||
>>> transform_path_to_dotted(["/foo"], '/foo/bar/baz.py')
|
||||
['bar', 'baz']
|
||||
|
||||
Returns None if the path doesn't really resolve to anything.
|
||||
|
||||
Reference in New Issue
Block a user