[Python-checkins] Fix minor markup typo (#5407)
Raymond Hettinger
webhook-mailer at python.org
Mon Jan 29 03:30:51 EST 2018
https://github.com/python/cpython/commit/2a3260bb030b0d4620242110c0ee5abc379afa8d
commit: 2a3260bb030b0d4620242110c0ee5abc379afa8d
branch: master
author: cocoatomo <cocoatomo77 at gmail.com>
committer: Raymond Hettinger <rhettinger at users.noreply.github.com>
date: 2018-01-29T00:30:48-08:00
summary:
Fix minor markup typo (#5407)
files:
M Doc/library/functions.rst
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index e47225718c1b..bfb813cf3906 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1423,7 +1423,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