We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be532a2 commit 86db757Copy full SHA for 86db757
src/sage/misc/bindable_class.py
@@ -162,14 +162,14 @@ class BoundClass(functools.partial):
162
163
Introspection works, at least partially:
164
165
- sage: sage_getdoc(c)
166
- ' Some documentation for Outer.Inner\n'
+ sage: sage_getdoc(c).strip()
+ 'Some documentation for Outer.Inner'
167
sage: sage_getfile(c)
168
'.../sage/misc/bindable_class.py'
169
170
sage: c = x.Inner2
171
172
- ' Some documentation for Inner2\n'
+ 'Some documentation for Inner2'
173
sage: sage_getsourcelines(c)
174
(['class Inner2(BindableClass):...], ...)
175
0 commit comments