summaryrefslogtreecommitdiffstats
path: root/Lib/numbers.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-01-12 20:52:39 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-01-12 20:52:39 (GMT)
commit219c300748b34a60d3999dd86f66f5df9e02008d (patch)
tree6deab8807cfb151583ad487a352dad19a8415a45 /Lib/numbers.py
parent45545f79c94460dbfe18b22116f6294468dd09c9 (diff)
downloadcpython-219c300748b34a60d3999dd86f66f5df9e02008d.zip
cpython-219c300748b34a60d3999dd86f66f5df9e02008d.tar.gz
cpython-219c300748b34a60d3999dd86f66f5df9e02008d.tar.bz2
Remove the funky function annotation from numbers.py.
Diffstat (limited to 'Lib/numbers.py')
-rw-r--r--Lib/numbers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/numbers.py b/Lib/numbers.py
index b8651c2..f35704d 100644
--- a/Lib/numbers.py
+++ b/Lib/numbers.py
@@ -189,7 +189,7 @@ class Real(Complex):
raise NotImplementedError
@abstractmethod
- def __round__(self, ndigits:"Integral"=None):
+ def __round__(self, ndigits=None):
"""Rounds self to ndigits decimal places, defaulting to 0.
If ndigits is omitted or None, returns an Integral, otherwise