summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2021-04-01 17:03:33 (GMT)
committerGitHub <noreply@github.com>2021-04-01 17:03:33 (GMT)
commite689cdca3c14aab8d2d454b79ddd661b238fd301 (patch)
tree40c20f9e3b2ffbe447b75b8616e7a1543c022da4 /Doc/howto
parent652bfdee9495dca241d48278742fe035b7a82bdb (diff)
downloadcpython-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')
-rw-r--r--Doc/howto/descriptor.rst2
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