summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2010-08-07 04:19:49 (GMT)
committerRaymond Hettinger <python@rcn.com>2010-08-07 04:19:49 (GMT)
commite9499aef0a28fda0d3c4bdc0eb9ae220390299ac (patch)
treeb9fe5a20c1b862ff2feb6fed68f022fe644a51b4 /Doc
parent42143562c2f5a716cd24c83e2dbe4b7e5e9a6d6d (diff)
downloadcpython-e9499aef0a28fda0d3c4bdc0eb9ae220390299ac.zip
cpython-e9499aef0a28fda0d3c4bdc0eb9ae220390299ac.tar.gz
cpython-e9499aef0a28fda0d3c4bdc0eb9ae220390299ac.tar.bz2
Fix markup
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.2.rst10
1 files changed, 4 insertions, 6 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst
index 12d3527..91fd0c2 100644
--- a/Doc/whatsnew/3.2.rst
+++ b/Doc/whatsnew/3.2.rst
@@ -97,15 +97,13 @@ New, Improved, and Deprecated Modules
page = urllib.urlopen(query).read()
return parse_lyrics(page)
- To help with choosing an effective cache size, the wrapped function
- is instrumented with two attributes 'hits' and 'misses'::
+ To help with choosing an effective cache size, the wrapped function
+ is instrumented with two attributes *hits* and *misses*::
>>> for song in user_requests:
... find_lyrics(song)
- >>> print find_lyrics.hits
- 4805
- >>> print find_lyrics.misses
- 980
+ >>> print(find_lyrics.hits, find_lyrics.misses)
+ 4805 980
(Contributed by Raymond Hettinger)