]> granicus.if.org Git - python/commitdiff
Fix small grammatical error in a docstring.
authorBrett Cannon <bcannon@gmail.com>
Tue, 1 Mar 2005 03:12:26 +0000 (03:12 +0000)
committerBrett Cannon <bcannon@gmail.com>
Tue, 1 Mar 2005 03:12:26 +0000 (03:12 +0000)
Lib/decimal.py

index 90e2dccefaf8d245dc1618aaab911fa8b5e110ba..7f71b83559b534f5b2dae9d3d7ec45f17b61a965 100644 (file)
@@ -1414,7 +1414,7 @@ class Decimal(object):
         return float(str(self))
 
     def __int__(self):
-        """Converts self to a int, truncating if necessary."""
+        """Converts self to an int, truncating if necessary."""
         if self._is_special:
             if self._isnan():
                 context = getcontext()