summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-11-18 20:05:15 (GMT)
committerGeorg Brandl <georg@python.org>2009-11-18 20:05:15 (GMT)
commit1136ff541e37eed6e5b06465de48e60cc0234b36 (patch)
tree7ffc8f999a2cd76657b1e06673a3f0346b545619
parent8c18a47e772a6ab188c27e98bfe11fdfad7bb0c5 (diff)
downloadcpython-1136ff541e37eed6e5b06465de48e60cc0234b36.zip
cpython-1136ff541e37eed6e5b06465de48e60cc0234b36.tar.gz
cpython-1136ff541e37eed6e5b06465de48e60cc0234b36.tar.bz2
Fix markup.
-rw-r--r--Doc/library/string.rst9
1 files changed, 4 insertions, 5 deletions
diff --git a/Doc/library/string.rst b/Doc/library/string.rst
index d01ddf1..b636ca0 100644
--- a/Doc/library/string.rst
+++ b/Doc/library/string.rst
@@ -541,13 +541,12 @@ these rules. The methods of :class:`Template` are:
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: