]> granicus.if.org Git - python/commitdiff
Fix the line to what is my guess at the original author's meaning.
authorArmin Rigo <arigo@tunes.org>
Mon, 12 Feb 2007 16:23:24 +0000 (16:23 +0000)
committerArmin Rigo <arigo@tunes.org>
Mon, 12 Feb 2007 16:23:24 +0000 (16:23 +0000)
(The line has no effect anyway, but is present because it's
customary call the base class __init__).

Lib/test/test_descr.py

index 89279070cd70c008a1e476a3f1141bf211bec5be..fcc7c13db6fc47b92633157f56c46cb50c62972c 100644 (file)
@@ -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")