mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-19 03:55:57 +08:00
Remove the deprecated start_pos.
This commit is contained in:
@@ -82,16 +82,6 @@ class BaseDefinition(object):
|
||||
"""
|
||||
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
|
||||
def type(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user