api.Script.get_definition -> definition, to be consistent in the api naming. deprecated api.Script.get_definition
This commit is contained in:
1 parent
f8e0c78f77
commit
b0c3fd5439
5 files changed
+41
-31
No files matched your search
+1
-1
@@ -263,7 +263,7 @@ class Completion(BaseDefinition):
|
||||
class Definition(BaseDefinition):
|
||||
"""
|
||||
*Definition* objects are returned from :meth:`api.Script.goto` or
|
||||
:meth:`api.Script.get_definition`.
|
||||
:meth:`api.Script.definition`.
|
||||
"""
|
||||
def __init__(self, definition):
|
||||
super(Definition, self).__init__(definition, definition.start_pos)
|
||||
|
||||
Reference in new issue
Block a user