commit | e689cdca3c14aab8d2d454b79ddd661b238fd301 | [log] [tgz] |
---|---|---|
author | Zackery Spytz <zspytz@gmail.com> | Thu Apr 01 11:03:33 2021 -0600 |
committer | GitHub <noreply@github.com> | Thu Apr 01 10:03:33 2021 -0700 |
tree | 40c20f9e3b2ffbe447b75b8616e7a1543c022da4 | |
parent | 652bfdee9495dca241d48278742fe035b7a82bdb [diff] [blame] |
bpo-43677: Fix a minor error in Doc/howto/descriptor.rst (#25123) It should be PyMethod_Type, not Py_MethodType.
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 @@ .. 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