From 57ed6b8c97d5f2014133f8c3ae8bde272a2b264b Mon Sep 17 00:00:00 2001 From: Semen Zhydenko Date: Mon, 9 Jan 2023 13:39:58 +0100 Subject: [PATCH 1/3] Fixed typo: adviced -> advised --- Doc/library/ctypes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst index fd5df875ed74d5..ac533a939d6ac2 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. From 46a90be8605db4fc4bf9d10356bfdc13f2d1b91f Mon Sep 17 00:00:00 2001 From: Semen Zhydenko Date: Mon, 9 Jan 2023 13:40:17 +0100 Subject: [PATCH 2/3] Fixed typo: funtion -> function --- Doc/c-api/structures.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst index be6e7b5faf9f79..9618a0cf676972 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 From 10ff12c21e4d5da7039ab756b21857d3c3713015 Mon Sep 17 00:00:00 2001 From: Semen Zhydenko Date: Mon, 9 Jan 2023 13:40:35 +0100 Subject: [PATCH 3/3] Fixed typo: preferrably -> preferably --- Doc/library/sqlite3.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index 0d929d1297f5a9..1708cd9d9580ad 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``,