[Python-checkins] Fix minor markup typo (GH-5407) (#5416)
Raymond Hettinger
webhook-mailer at python.org
Mon Jan 29 04:24:17 EST 2018
https://github.com/python/cpython/commit/190de183e5e2a11591e28e2c413a70079d4c92aa
commit: 190de183e5e2a11591e28e2c413a70079d4c92aa
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Raymond Hettinger <rhettinger at users.noreply.github.com>
date: 2018-01-29T01:24:09-08:00
summary:
Fix minor markup typo (GH-5407) (#5416)
(cherry picked from commit 2a3260bb030b0d4620242110c0ee5abc379afa8d)
files:
M Doc/library/functions.rst
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 7a7a84d1d424..3b479bd64294 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1409,7 +1409,7 @@ are always available. They are listed here in alphabetical order.
a regular function and do something with its result. This is needed
in some cases where you need a reference to a function from a class
body and you want to avoid the automatic transformation to instance
- method. For these cases, use this idiom:
+ method. For these cases, use this idiom::
class C:
builtin_open = staticmethod(open)
More information about the Python-checkins
mailing list