1
0
forked from VimPlug/jedi

changed warnings to sphinx doc style

This commit is contained in:
David Halter
2012-12-27 18:15:11 +01:00
parent 22fcfe5e19
commit f8efc7c950

View File

@@ -91,8 +91,10 @@ class BaseDefinition(object):
@property @property
def line_nr(self): def line_nr(self):
""" Use line instead! """
TODO remove, deprecated! it's just here for backwards compatibility .. warning:: Deprecated! It's just here for backwards compatibility,
use line instead.
.. todo:: Remove!
""" """
raise DeprecationWarning("Use line instead.") raise DeprecationWarning("Use line instead.")
return self.line return self.line