diff options
author | Semen Zhydenko <semen.zhydenko@gmail.com> | 2023-01-10 09:04:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-10 09:04:06 (GMT) |
commit | 35650f25383efce83b62d5273110ab8dcdbcc254 (patch) | |
tree | d559b52b444bbc0ec3b3eba123c175165f4a1e5e /Doc/library | |
parent | 57a5259a438c717755fc667fcbedb515ef8e0c85 (diff) | |
download | cpython-35650f25383efce83b62d5273110ab8dcdbcc254.zip cpython-35650f25383efce83b62d5273110ab8dcdbcc254.tar.gz cpython-35650f25383efce83b62d5273110ab8dcdbcc254.tar.bz2 |
Fix typos in Doc folder (#100880)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/ctypes.rst | 2 | ||||
-rw-r--r-- | Doc/library/sqlite3.rst | 2 |
2 files changed, 2 insertions, 2 deletions
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``, |