From e689cdca3c14aab8d2d454b79ddd661b238fd301 Mon Sep 17 00:00:00 2001 From: Zackery Spytz Date: Thu, 1 Apr 2021 11:03:33 -0600 Subject: bpo-43677: Fix a minor error in Doc/howto/descriptor.rst (#25123) It should be PyMethod_Type, not Py_MethodType. --- Doc/howto/descriptor.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12