Kaydet (Commit) 3b6e8317 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Remove the funky function annotation from numbers.py.

üst 3bce13d4
...@@ -189,7 +189,7 @@ class Real(Complex): ...@@ -189,7 +189,7 @@ class Real(Complex):
raise NotImplementedError raise NotImplementedError
@abstractmethod @abstractmethod
def __round__(self, ndigits:"Integral"=None): def __round__(self, ndigits=None):
"""Rounds self to ndigits decimal places, defaulting to 0. """Rounds self to ndigits decimal places, defaulting to 0.
If ndigits is omitted or None, returns an Integral, otherwise If ndigits is omitted or None, returns an Integral, otherwise
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment