Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
fix doctest in sageinspect
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed Apr 25, 2019
1 parent a4e9eb3 commit a902cb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/misc/sageinspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def _extract_embedded_signature(docstring, name):
sage: from sage.misc.sageinspect import _extract_embedded_signature
sage: from sage.misc.nested_class import MainClass
sage: print(_extract_embedded_signature(MainClass.NestedClass.NestedSubClass.dummy.__doc__, 'dummy')[0])
File: sage/misc/nested_class.pyx (starting at line 314)
File: sage/misc/nested_class.pyx (starting at line 327)
...
sage: _extract_embedded_signature(MainClass.NestedClass.NestedSubClass.dummy.__doc__, 'dummy')[1]
ArgSpec(args=['self', 'x', 'r'], varargs='args', keywords='kwds', defaults=((1, 2, 3.4),))
Expand Down

0 comments on commit a902cb2

Please sign in to comment.