[Python-checkins] Fix typos in Doc folder (#100880)

hugovk webhook-mailer at python.org
Tue Jan 10 04:04:13 EST 2023


https://github.com/python/cpython/commit/35650f25383efce83b62d5273110ab8dcdbcc254
commit: 35650f25383efce83b62d5273110ab8dcdbcc254
branch: main
author: Semen Zhydenko <semen.zhydenko at gmail.com>
committer: hugovk <hugovk at users.noreply.github.com>
date: 2023-01-10T11:04:06+02:00
summary:

Fix typos in Doc folder (#100880)

files:
M Doc/c-api/structures.rst
M Doc/library/ctypes.rst
M Doc/library/sqlite3.rst

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``,



More information about the Python-checkins mailing list