From: Semen Zhydenko Date: Tue, 10 Jan 2023 09:04:06 +0000 (+0100) Subject: Fix typos in Doc folder (#100880) X-Git-Tag: v3.12.0a4~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=35650f25383efce83b62d5273110ab8dcdbcc254;p=thirdparty%2FPython%2Fcpython.git Fix typos in Doc folder (#100880) --- diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst index be6e7b5faf9f..9618a0cf6769 100644 --- a/Doc/c-api/structures.rst +++ b/Doc/c-api/structures.rst @@ -615,7 +615,7 @@ Defining Getters and Setters .. c:member:: getter PyGetSetDef.get - C funtion to get the attribute. + C function to get the attribute. .. c:member:: setter PyGetSetDef.set diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst index fd5df875ed74..ac533a939d6a 100644 --- a/Doc/library/ctypes.rst +++ b/Doc/library/ctypes.rst @@ -390,7 +390,7 @@ regular, non-variadic, function arguments: libc.printf.argtypes = [ctypes.c_char_p] -Because specifying the attribute does inhibit portability it is adviced to always +Because specifying the attribute does inhibit portability it is advised to always specify ``argtypes`` for all variadic functions. diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index 0d929d1297f5..1708cd9d9580 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -2463,7 +2463,7 @@ Transaction control via the ``autocommit`` attribute The recommended way of controlling transaction behaviour is through the :attr:`Connection.autocommit` attribute, -which should preferrably be set using the *autocommit* parameter +which should preferably be set using the *autocommit* parameter of :func:`connect`. It is suggested to set *autocommit* to ``False``,