From: Zackery Spytz Date: Thu, 1 Apr 2021 17:03:33 +0000 (-0600) Subject: bpo-43677: Fix a minor error in Doc/howto/descriptor.rst (#25123) X-Git-Tag: v3.10.0a7~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e689cdca3c14aab8d2d454b79ddd661b238fd301;p=thirdparty%2FPython%2Fcpython.git 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 94aadd6f73a8..420d9b94306e 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