summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2010-09-06 20:27:55 (GMT)
committerFlorent Xicluna <florent.xicluna@gmail.com>2010-09-06 20:27:55 (GMT)
commit7b2a7710ef17e38e021f6f045b8cd7ad0e96d5e1 (patch)
tree65070aed2daf69a7ab8d157c7ad791beb7f3af00 /Lib
parentfeb2ee46bc6b6cc43f337817ef67b073ecb8943d (diff)
downloadcpython-7b2a7710ef17e38e021f6f045b8cd7ad0e96d5e1.zip
cpython-7b2a7710ef17e38e021f6f045b8cd7ad0e96d5e1.tar.gz
cpython-7b2a7710ef17e38e021f6f045b8cd7ad0e96d5e1.tar.bz2
typo
Diffstat (limited to 'Lib')
-rw-r--r--Lib/string.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/string.py b/Lib/string.py
index defe894..2a450cd 100644
--- a/Lib/string.py
+++ b/Lib/string.py
@@ -174,7 +174,7 @@ class Template(metaclass=_TemplateMetaclass):
# 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 @@ class Formatter:
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: