diff options
author | Zackery Spytz <zspytz@gmail.com> | 2021-04-01 17:03:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-01 17:03:33 (GMT) |
commit | e689cdca3c14aab8d2d454b79ddd661b238fd301 (patch) | |
tree | 40c20f9e3b2ffbe447b75b8616e7a1543c022da4 /Doc/howto/descriptor.rst | |
parent | 652bfdee9495dca241d48278742fe035b7a82bdb (diff) | |
download | cpython-e689cdca3c14aab8d2d454b79ddd661b238fd301.zip cpython-e689cdca3c14aab8d2d454b79ddd661b238fd301.tar.gz cpython-e689cdca3c14aab8d2d454b79ddd661b238fd301.tar.bz2 |
bpo-43677: Fix a minor error in Doc/howto/descriptor.rst (#25123)
It should be PyMethod_Type, not Py_MethodType.
Diffstat (limited to 'Doc/howto/descriptor.rst')
-rw-r--r-- | Doc/howto/descriptor.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/descriptor.rst b/Doc/howto/descriptor.rst index 94aadd6..420d9b9 100644 --- a/Doc/howto/descriptor.rst +++ b/Doc/howto/descriptor.rst @@ -1064,7 +1064,7 @@ roughly equivalent to: .. testcode:: class MethodType: - "Emulate Py_MethodType in Objects/classobject.c" + "Emulate PyMethod_Type in Objects/classobject.c" def __init__(self, func, obj): self.__func__ = func |