mirror of https://github.com/python/cpython
Fix typos in Doc folder (#100880)
This commit is contained in:
parent
57a5259a43
commit
35650f2538
|
@ -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
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
||||
|
|
|
@ -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``,
|
||||
|
|
Loading…
Reference in New Issue