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

Commit

Permalink
Trac #17218: Call Element.__init__ directly
Browse files Browse the repository at this point in the history
Instead of calling super(ComplexBall, self).__init__(parent), call
Element.__init__(self, parent), see
http://trac.sagemath.org/ticket/17218#comment:14 .
  • Loading branch information
cheuberg committed May 18, 2015
1 parent 4f3489b commit d671d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/rings/complex_ball_acb.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ cdef class ComplexBall(Element):
sage: ComplexBallField(106)(1/3, 1/6) # optional - arb
[0.33333333333333333333333333333333 +/- 6.94e-33] + [0.16666666666666666666666666666666 +/- 7.70e-33]*I
"""
super(ComplexBall, self).__init__(parent)
Element.__init__(self, parent)

if x is None:
return
Expand Down

0 comments on commit d671d83

Please sign in to comment.