[Python-checkins] r76377 - python/trunk/Doc/library/string.rst

georg.brandl python-checkins at python.org
Wed Nov 18 21:05:15 CET 2009


Author: georg.brandl
Date: Wed Nov 18 21:05:15 2009
New Revision: 76377

Log:
Fix markup.

Modified:
   python/trunk/Doc/library/string.rst

Modified: python/trunk/Doc/library/string.rst
==============================================================================
--- python/trunk/Doc/library/string.rst	(original)
+++ python/trunk/Doc/library/string.rst	Wed Nov 18 21:05:15 2009
@@ -541,13 +541,12 @@
       templates containing dangling delimiters, unmatched braces, or
       placeholders that are not valid Python identifiers.
 
-:class:`Template` instances also provide one public data attribute:
+   :class:`Template` instances also provide one public data attribute:
 
+   .. attribute:: template
 
-.. attribute:: string.template
-
-   This is the object passed to the constructor's *template* argument.  In general,
-   you shouldn't change it, but read-only access is not enforced.
+      This is the object passed to the constructor's *template* argument.  In
+      general, you shouldn't change it, but read-only access is not enforced.
 
 Here is an example of how to use a Template:
 


More information about the Python-checkins mailing list