From 1136ff541e37eed6e5b06465de48e60cc0234b36 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 18 Nov 2009 20:05:15 +0000 Subject: [PATCH] Fix markup. --- Doc/library/string.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Doc/library/string.rst b/Doc/library/string.rst index d01ddf1edf..b636ca0116 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: -- 2.40.0