]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typos in Doc folder (#100880)
authorSemen Zhydenko <semen.zhydenko@gmail.com>
Tue, 10 Jan 2023 09:04:06 +0000 (10:04 +0100)
committerGitHub <noreply@github.com>
Tue, 10 Jan 2023 09:04:06 +0000 (11:04 +0200)
Doc/c-api/structures.rst
Doc/library/ctypes.rst
Doc/library/sqlite3.rst

index be6e7b5faf9f79f6ac2b34be07964b76596007c2..9618a0cf67697299c5b464c4a7343a4c5c71367d 100644 (file)
@@ -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
 
index fd5df875ed74d5f32abb22a06f7deae16823881d..ac533a939d6ac2328f3aae5e964c4eca5d1d3d88 100644 (file)
@@ -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.
 
 
index 0d929d1297f5a9a150ccadf645347eb3f98cd6ef..1708cd9d9580ad88a265295066ed1f4efad96202 100644 (file)
@@ -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``,