From b8d6d73121855f30d8e3733552533ad8d29aa8e6 Mon Sep 17 00:00:00 2001 From: Armin Rigo Date: Mon, 12 Feb 2007 16:23:24 +0000 Subject: 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__). --- Lib/test/test_descr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index 8927907..fcc7c13 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") -- cgit v0.12