diff options
author | Raymond Hettinger <python@rcn.com> | 2011-01-12 20:52:39 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-01-12 20:52:39 +0000 |
commit | 228a03b479c462373aa5b94afc5272ca218371dc (patch) | |
tree | ff819a11636fd838c53aee2821dfaaa27b2f7ebc /Lib/numbers.py | |
parent | 1096ee6be552e716a3f264db665f05ae64667d37 (diff) | |
download | cpython-228a03b479c462373aa5b94afc5272ca218371dc.tar.gz |
Remove the funky function annotation from numbers.py.
Diffstat (limited to 'Lib/numbers.py')
-rw-r--r-- | Lib/numbers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/numbers.py b/Lib/numbers.py index b8651c2d82..f35704dd39 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 |