File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -2421,13 +2421,10 @@ cdef Element pynac_I
2421
2421
2422
2422
def init_pynac_I ():
2423
2423
"""
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)`` .
2425
2425
2426
2426
EXAMPLES::
2427
2427
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
-
2431
2428
sage: from sage.symbolic.constants import I as symbolic_I
2432
2429
sage: symbolic_I
2433
2430
I
@@ -2482,7 +2479,7 @@ def init_pynac_I():
2482
2479
sage: maxima(2*symbolic_I)
2483
2480
2*%i
2484
2481
2485
- TESTS:
2482
+ TESTS::
2486
2483
2487
2484
sage: repr(symbolic_I)
2488
2485
'I'
You can’t perform that action at this time.
0 commit comments