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
1 changed files with 1 additions and 1 deletions

View File

@ -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