1
0
forked from VimPlug/jedi

Delete deprecations from 0.6.0 and 0.5.0.

This commit is contained in:
Dave Halter
2015-01-08 18:22:38 +01:00
parent 7c6a6006fd
commit ed7500bfaa
2 changed files with 0 additions and 83 deletions

View File

@@ -192,16 +192,6 @@ class BaseDefinition(object):
"""Whether this is a builtin module."""
return isinstance(self._module, compiled.CompiledObject)
@property
def line_nr(self):
"""
.. deprecated:: 0.5.0
Use :attr:`.line` instead.
.. todo:: Remove!
"""
warnings.warn("Use line instead.", DeprecationWarning)
return self.line
@property
def line(self):
"""The line where the definition occurs (starting with 1)."""
@@ -417,16 +407,6 @@ class Completion(BaseDefinition):
"""
return self._complete(False)
@property
def word(self):
"""
.. deprecated:: 0.6.0
Use :attr:`.name` instead.
.. todo:: Remove!
"""
warnings.warn("Use name instead.", DeprecationWarning)
return self.name
@property
def description(self):
"""Provide a description of the completion object."""