mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-08 19:01:27 +08:00
Fix names in docstrings and DeprecationWarnings.
Update a number of docstrings and DeprecationWarnings to refer to the correct methods or attributes.
This commit is contained in:
@@ -345,7 +345,7 @@ class Script(object):
|
||||
Use :attr:`.call_signatures` instead.
|
||||
.. todo:: Remove!
|
||||
"""
|
||||
warnings.warn("Use line instead.", DeprecationWarning)
|
||||
warnings.warn("Use call_signatures instead.", DeprecationWarning)
|
||||
sig = self.call_signatures()
|
||||
return sig[0] if sig else None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user