From 35650f25383efce83b62d5273110ab8dcdbcc254 Mon Sep 17 00:00:00 2001 From: Semen Zhydenko Date: Tue, 10 Jan 2023 10:04:06 +0100 Subject: Fix typos in Doc folder (#100880) --- Doc/c-api/structures.rst | 2 +- Doc/library/ctypes.rst | 2 +- Doc/library/sqlite3.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst index be6e7b5..9618a0c 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 fd5df87..ac533a9 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 0d929d1..1708cd9 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``, -- cgit v0.12