diff options
author | Armin Rigo <arigo@tunes.org> | 2007-02-12 16:23:24 +0000 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2007-02-12 16:23:24 +0000 |
commit | b8d6d73121855f30d8e3733552533ad8d29aa8e6 (patch) | |
tree | 75988080ac93903f5019d4f21fd6865bae7c5d9e | |
parent | 2bad58f5a4caef933e3e404ff6a213a0f499614c (diff) | |
download | cpython-git-b8d6d73121855f30d8e3733552533ad8d29aa8e6.tar.gz |
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__).
-rw-r--r-- | Lib/test/test_descr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index 89279070cd..fcc7c13db6 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") |