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

Commit

Permalink
17659: replace PY_NEW
Browse files Browse the repository at this point in the history
  • Loading branch information
rwst committed Apr 20, 2015
1 parent 7183f4d commit cb7bbed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/symbolic/expression.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -3620,7 +3620,7 @@ cdef class Expression(CommutativeRingElement):
sig_on()
try:
x = self._gobj.series(symbol0._gobj, prec, 0)
nex = <SymbolicSeries>PY_NEW(SymbolicSeries)
nex = SymbolicSeries.__new__(SymbolicSeries)
nex._parent = self._parent
GEx_construct_ex(&nex._gobj, x)
finally:
Expand Down

0 comments on commit cb7bbed

Please sign in to comment.