Skip to content

Commit 2fb5ca1

Browse files
Matthias Koeppedimpase
authored andcommitted
src/sage/symbolic/pynac_impl.pxi: Fix up docstring
1 parent fbf7716 commit 2fb5ca1

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/sage/symbolic/pynac_impl.pxi

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2421,13 +2421,10 @@ cdef Element pynac_I
24212421

24222422
def init_pynac_I():
24232423
"""
2424-
Initialize the numeric I object in pynac. We use the generator of QQ(i).
2424+
Initialize the numeric ``I`` object in pynac. We use the generator of ``QQ(i)``.
24252425
24262426
EXAMPLES::
24272427
2428-
Just for this doctest, we import ``I`` from :mod:`sage.symbolic.expression`.
2429-
Library and user code should instead import it from :mod:`sage.symbolic.constants`.
2430-
24312428
sage: from sage.symbolic.constants import I as symbolic_I
24322429
sage: symbolic_I
24332430
I
@@ -2482,7 +2479,7 @@ def init_pynac_I():
24822479
sage: maxima(2*symbolic_I)
24832480
2*%i
24842481
2485-
TESTS:
2482+
TESTS::
24862483
24872484
sage: repr(symbolic_I)
24882485
'I'

0 commit comments

Comments
 (0)