mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Remove the funky function annotation from numbers.py.
This commit is contained in:
parent
3bce13d42b
commit
3b6e83173c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue