Remove the funky function annotation from numbers.py.

This commit is contained in:
Raymond Hettinger 2011-01-12 20:54:53 +00:00
parent 3bce13d42b
commit 3b6e83173c

View file

@ -189,7 +189,7 @@ def __ceil__(self):
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