commit | 3b6e83173c80c8aa438d7a8bb25490e11f674f3a | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Wed Jan 12 20:54:53 2011 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Wed Jan 12 20:54:53 2011 +0000 |
tree | 5d80c1e47a1381fd7d15f82be5f41308a0746db6 | |
parent | 3bce13d42be602f5a40a9759fa0f0d029f77ef8d [diff] |
Remove the funky function annotation from numbers.py.
diff --git a/Lib/numbers.py b/Lib/numbers.py index d7c8931..201dc3c 100644 --- a/Lib/numbers.py +++ b/Lib/numbers.py
@@ -189,7 +189,7 @@ 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