1
0
forked from VimPlug/jedi

tried to link the DeprecationWarning in Sphinx

This commit is contained in:
David Halter
2012-12-27 18:16:37 +01:00
parent f8efc7c950
commit 5e03147f43

View File

@@ -93,7 +93,7 @@ class BaseDefinition(object):
def line_nr(self): def line_nr(self):
""" """
.. warning:: Deprecated! It's just here for backwards compatibility, .. warning:: Deprecated! It's just here for backwards compatibility,
use line instead. use `api_classes.BaseDefinition.line` instead.
.. todo:: Remove! .. todo:: Remove!
""" """
raise DeprecationWarning("Use line instead.") raise DeprecationWarning("Use line instead.")