From: Raymond Hettinger Date: Sat, 7 Aug 2010 04:19:49 +0000 (+0000) Subject: Fix markup X-Git-Tag: v3.2a2~445 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e9499aef0a28fda0d3c4bdc0eb9ae220390299ac;p=python Fix markup --- diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index 12d3527163..91fd0c2f6d 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)