[Python-3000-checkins] r59914 - python/branches/py3k/Doc/library/string.rst

georg.brandl python-3000-checkins at python.org
Fri Jan 11 13:58:41 CET 2008


Author: georg.brandl
Date: Fri Jan 11 13:58:40 2008
New Revision: 59914

Modified:
   python/branches/py3k/Doc/library/string.rst
Log:
Fix markup.


Modified: python/branches/py3k/Doc/library/string.rst
==============================================================================
--- python/branches/py3k/Doc/library/string.rst	(original)
+++ python/branches/py3k/Doc/library/string.rst	Fri Jan 11 13:58:40 2008
@@ -230,8 +230,8 @@
 value to a string before calling :meth:`__format__`, the normal formatting logic
 is bypassed.
 
-Two conversion flags are currently supported: ``'!s'`` which calls :func:`str()`
-on the value, and ``'!r'`` which calls :func:`repr()`.
+Two conversion flags are currently supported: ``'!s'`` which calls :func:`str`
+on the value, and ``'!r'`` which calls :func:`repr`.
 
 Some examples::
 
@@ -289,7 +289,7 @@
 although some of the formatting options are only supported by the numeric types.
 
 A general convention is that an empty format string (``""``) produces the same
-result as if you had called :func:`str()` on the value.
+result as if you had called :func:`str` on the value.
 
 The general form of a *standard format specifier* is:
 


More information about the Python-3000-checkins mailing list