Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e9499ae

Browse files
committed
Fix markup
1 parent 4214356 commit e9499ae

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

Doc/whatsnew/3.2.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,13 @@ New, Improved, and Deprecated Modules
9797
page = urllib.urlopen(query).read()
9898
return parse_lyrics(page)
9999

100-
To help with choosing an effective cache size, the wrapped function
101-
is instrumented with two attributes 'hits' and 'misses'::
100+
To help with choosing an effective cache size, the wrapped function
101+
is instrumented with two attributes *hits* and *misses*::
102102

103103
>>> for song in user_requests:
104104
... find_lyrics(song)
105-
>>> print find_lyrics.hits
106-
4805
107-
>>> print find_lyrics.misses
108-
980
105+
>>> print(find_lyrics.hits, find_lyrics.misses)
106+
4805 980
109107

110108
(Contributed by Raymond Hettinger)
111109

0 commit comments

Comments
 (0)