Remove the funky function annotation from numbers.py.
This commit is contained in:
parent
3bce13d42b
commit
3b6e83173c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue