From: Armin Rigo Date: Mon, 12 Feb 2007 16:23:24 +0000 (+0000) Subject: Fix the line to what is my guess at the original author's meaning. X-Git-Tag: v2.6a1~2184 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b8d6d73121855f30d8e3733552533ad8d29aa8e6;p=thirdparty%2FPython%2Fcpython.git 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__). --- diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index 89279070cd70..fcc7c13db6fc 100644 --- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py @@ -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")