]> granicus.if.org Git - python/commitdiff
Docstring nit
authorRaymond Hettinger <python@rcn.com>
Sun, 27 Jan 2008 10:13:57 +0000 (10:13 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 27 Jan 2008 10:13:57 +0000 (10:13 +0000)
Lib/rational.py

index 93b0c5b62171d8671ee473e6b35822b11618ee23..8ee38ba0a5c5f3a80fa16855dc9ee9c740d4221e 100755 (executable)
@@ -103,7 +103,7 @@ class Rational(RationalAbc):
     def __new__(cls, numerator=0, denominator=1):
         """Constructs a Rational.
 
-        Takes a string like '3/2' or '3.2', another Rational, or a
+        Takes a string like '3/2' or '1.5', another Rational, or a
         numerator/denominator pair.
 
         """