Commit b8d6d731 authored by Armin Rigo's avatar Armin Rigo

Fix the line to what is my guess at the original author's meaning.

(The line has no effect anyway, but is present because it's
customary call the base class __init__).
parent 2bad58f5
......@@ -2226,7 +2226,7 @@ def inherits():
__slots__ = ['prec']
def __init__(self, value=0.0, prec=12):
self.prec = int(prec)
float.__init__(value)
float.__init__(self, value)
def __repr__(self):
return "%.*g" % (self.prec, self)
vereq(repr(precfloat(1.1)), "1.1")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment