]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-43677: Fix a minor error in Doc/howto/descriptor.rst (GH-25123) (#25140)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 2 Apr 2021 00:06:30 +0000 (17:06 -0700)
committerGitHub <noreply@github.com>
Fri, 2 Apr 2021 00:06:30 +0000 (17:06 -0700)
Doc/howto/descriptor.rst

index 032d08009f44281162ecd42f4b30edd5c38acd75..c7035bad4b6faa6df3abece93c8304468ca52b01 100644 (file)
@@ -1054,7 +1054,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