mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
Add py__doc__ as a better approach to docstrings.
This commit is contained in:
@@ -53,7 +53,7 @@ def test_doc():
|
||||
just a Jedi API definition.
|
||||
"""
|
||||
obj = compiled.CompiledObject(_evaluator(), ''.__getnewargs__)
|
||||
assert obj.doc == ''
|
||||
assert obj.py__doc__() == ''
|
||||
|
||||
|
||||
def test_string_literals():
|
||||
|
||||
Reference in New Issue
Block a user