mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
Update sith's module docstring to match the available operations
This commit is contained in:
4
sith.py
4
sith.py
@@ -20,8 +20,7 @@ Run a specific operation
|
|||||||
|
|
||||||
./sith.py run <operation> </path/to/source/file.py> <line> <col>
|
./sith.py run <operation> </path/to/source/file.py> <line> <col>
|
||||||
|
|
||||||
Where operation is one of completions, goto_assignments, goto_definitions,
|
Where operation is one of complete, goto, infer, get_references or get_signatures.
|
||||||
usages, or call_signatures.
|
|
||||||
|
|
||||||
Note: Line numbers start at 1; columns start at 0 (this is consistent with
|
Note: Line numbers start at 1; columns start at 0 (this is consistent with
|
||||||
many text editors, including Emacs).
|
many text editors, including Emacs).
|
||||||
@@ -95,6 +94,7 @@ class TestCase(object):
|
|||||||
args = json.load(f)
|
args = json.load(f)
|
||||||
return cls(*args)
|
return cls(*args)
|
||||||
|
|
||||||
|
# Changing this? Also update the module docstring above.
|
||||||
operations = ['complete', 'goto', 'infer', 'get_references', 'get_signatures']
|
operations = ['complete', 'goto', 'infer', 'get_references', 'get_signatures']
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user