forked from VimPlug/jedi
Remove the deprecated start_pos.
This commit is contained in:
@@ -82,16 +82,6 @@ class BaseDefinition(object):
|
|||||||
"""
|
"""
|
||||||
return self._name.string_name
|
return self._name.string_name
|
||||||
|
|
||||||
@property
|
|
||||||
def start_pos(self):
|
|
||||||
"""
|
|
||||||
.. deprecated:: 0.7.0
|
|
||||||
Use :attr:`.line` and :attr:`.column` instead.
|
|
||||||
.. todo:: Remove!
|
|
||||||
"""
|
|
||||||
warnings.warn("Use line/column instead.", DeprecationWarning)
|
|
||||||
return self._name.start_pos
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def type(self):
|
def type(self):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user