From 0cb890474f6877fa9f37d5d9ce83cccf426e7b81 Mon Sep 17 00:00:00 2001 From: Konstantin Popov Date: Sat, 18 Sep 2021 04:45:33 +0300 Subject: [PATCH] Fix minor typo in Doc/c-api/type.rst (GH-28432) retreived-> retrieved (cherry picked from commit af08f1ba40505bf1380c08b57ba4e0b8969a8358) Co-authored-by: Konstantin Popov --- Doc/c-api/type.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/type.rst b/Doc/c-api/type.rst index 69894cae2069e6..cc2d8fdaa513c1 100644 --- a/Doc/c-api/type.rst +++ b/Doc/c-api/type.rst @@ -173,7 +173,7 @@ The following functions and structs are used to create The *module* argument can be used to record the module in which the new class is defined. It must be a module object or ``NULL``. If not ``NULL``, the module is associated with the new type and can later be - retreived with :c:func:`PyType_GetModule`. + retrieved with :c:func:`PyType_GetModule`. The associated module is not inherited by subclasses; it must be specified for each class individually.