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

Commit

Permalink
new_Expression_from_pyobject: Add output for new doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Aug 26, 2021
1 parent 3f1ac2e commit 0643756
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/sage/symbolic/expression.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -13415,13 +13415,19 @@ cpdef new_Expression_from_pyobject(parent, x, bint force=True, bint recursive=Tr
sage: from sage.symbolic.expression import new_Expression_from_pyobject
sage: t = new_Expression_from_pyobject(SR, 17); t
17
sage: type(t)
<class 'sage.symbolic.expression.Expression'>
sage: t2 = new_Expression_from_pyobject(SR, t, False); t2
17
sage: t2 is t
True
sage: tt = new_Expression_from_pyobject(SR, t, True); tt
17
sage: tt is t
False
"""
cdef GEx exp
cdef GExprSeq ex_seq
Expand Down

0 comments on commit 0643756

Please sign in to comment.