mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
Merge heads
This commit is contained in:
commit
fde75ae020
3 changed files with 12 additions and 5 deletions
|
@ -12,7 +12,9 @@
|
|||
pair: UNIX; I/O control
|
||||
|
||||
This module performs file control and I/O control on file descriptors. It is an
|
||||
interface to the :c:func:`fcntl` and :c:func:`ioctl` Unix routines.
|
||||
interface to the :c:func:`fcntl` and :c:func:`ioctl` Unix routines. For a
|
||||
complete description of these calls, see :manpage:`fcntl(2)` and
|
||||
:manpage:`ioctl(2)` Unix manual pages.
|
||||
|
||||
All functions in this module take a file descriptor *fd* as their first
|
||||
argument. This can be an integer file descriptor, such as returned by
|
||||
|
|
|
@ -190,6 +190,11 @@ Module functions and constants
|
|||
any combination of :const:`PARSE_DECLTYPES` and :const:`PARSE_COLNAMES` to turn
|
||||
type detection on.
|
||||
|
||||
By default, *check_same_thread* is :const:`True` and only the creating thread may
|
||||
use the connection. If set :const:`False`, the returned connection may be shared
|
||||
across multiple threads. When using multiple threads with the same connection
|
||||
writing operations should be serialized by the user to avoid data corruption.
|
||||
|
||||
By default, the :mod:`sqlite3` module uses its :class:`Connection` class for the
|
||||
connect call. You can, however, subclass the :class:`Connection` class and make
|
||||
:func:`connect` use your class instead by providing your class for the *factory*
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
pair: tty; I/O control
|
||||
|
||||
This module provides an interface to the POSIX calls for tty I/O control. For a
|
||||
complete description of these calls, see the POSIX or Unix manual pages. It is
|
||||
only available for those Unix versions that support POSIX *termios* style tty
|
||||
I/O control (and then only if configured at installation time).
|
||||
complete description of these calls, see :manpage:`termios(2)` Unix manual
|
||||
page. It is only available for those Unix versions that support POSIX
|
||||
*termios* style tty I/O control configured during installation.
|
||||
|
||||
All functions in this module take a file descriptor *fd* as their first
|
||||
argument. This can be an integer file descriptor, such as returned by
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue