[Python-checkins] r87970 - python/branches/release31-maint/Lib/numbers.py
raymond.hettinger
python-checkins at python.org
Wed Jan 12 21:54:53 CET 2011
Author: raymond.hettinger
Date: Wed Jan 12 21:54:53 2011
New Revision: 87970
Log:
Remove the funky function annotation from numbers.py.
Modified:
python/branches/release31-maint/Lib/numbers.py
Modified: python/branches/release31-maint/Lib/numbers.py
==============================================================================
--- python/branches/release31-maint/Lib/numbers.py (original)
+++ python/branches/release31-maint/Lib/numbers.py Wed Jan 12 21:54:53 2011
@@ -189,7 +189,7 @@
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
More information about the Python-checkins
mailing list