[Python-checkins] r84567 - python/branches/py3k/Lib/string.py

florent.xicluna python-checkins at python.org
Mon Sep 6 22:27:55 CEST 2010


Author: florent.xicluna
Date: Mon Sep  6 22:27:55 2010
New Revision: 84567

Log:
typo

Modified:
   python/branches/py3k/Lib/string.py

Modified: python/branches/py3k/Lib/string.py
==============================================================================
--- python/branches/py3k/Lib/string.py	(original)
+++ python/branches/py3k/Lib/string.py	Mon Sep  6 22:27:55 2010
@@ -174,7 +174,7 @@
 # see PEP 3101 for details and purpose of this class
 
 # The hard parts are reused from the C implementation.  They're exposed as "_"
-# prefixed methods of str and unicode.
+# prefixed methods of str.
 
 # The overall parser is implemented in str._formatter_parser.
 # The field name parser is implemented in str._formatter_field_name_split
@@ -246,7 +246,7 @@
             return str(value)
         elif conversion is None:
             return value
-        raise ValueError("Unknown converion specifier {0!s}".format(conversion))
+        raise ValueError("Unknown conversion specifier {0!s}".format(conversion))
 
 
     # returns an iterable that contains tuples of the form:


More information about the Python-checkins mailing list