mirror of
https://github.com/python/cpython.git
synced 2025-09-30 20:31:52 +00:00
Fix minor markup typo (GH-5407) (#5416)
(cherry picked from commit 2a3260bb03
)
This commit is contained in:
parent
3cfb84c657
commit
190de183e5
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue