From: Raymond Hettinger Date: Wed, 12 Jan 2011 20:54:53 +0000 (+0000) Subject: Remove the funky function annotation from numbers.py. X-Git-Tag: v3.2.1b1~347^2~70 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3b6e83173c80c8aa438d7a8bb25490e11f674f3a;p=thirdparty%2FPython%2Fcpython.git Remove the funky function annotation from numbers.py. --- diff --git a/Lib/numbers.py b/Lib/numbers.py index d7c8931f96ca..201dc3cc2be4 100644 --- a/Lib/numbers.py +++ b/Lib/numbers.py @@ -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