1
0
Fork 0

Make merge (#34)

Pour https://github.com/python/cpython/pull/101852

Reviewed-on: AFPy/python-docs-fr#34
Co-authored-by: Julien Palard <julien@palard.fr>
Co-committed-by: Julien Palard <julien@palard.fr>
This commit is contained in:
Julien Palard 2023-02-12 21:11:06 +00:00 committed by Christophe Nanteuil
parent be3fe26412
commit c45606574a
5 changed files with 483 additions and 438 deletions

View File

@ -20,7 +20,7 @@
# from which we generated our po files. We use it here so when we # from which we generated our po files. We use it here so when we
# test build, we're building with the .rst files that generated our # test build, we're building with the .rst files that generated our
# .po files. # .po files.
CPYTHON_CURRENT_COMMIT := 955ba2839bc5875424ae745bfab53e880a9ace49 CPYTHON_CURRENT_COMMIT := 1b736838e6ae1b4ef42cdd27c2708face908f92c
LANGUAGE := fr LANGUAGE := fr
BRANCH := 3.11 BRANCH := 3.11

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Python 3\n" "Project-Id-Version: Python 3\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-01-15 22:33+0100\n" "POT-Creation-Date: 2023-02-12 21:25+0100\n"
"PO-Revision-Date: 2020-09-22 17:11+0200\n" "PO-Revision-Date: 2020-09-22 17:11+0200\n"
"Last-Translator: Philippe GALVAN <git.philippe.galvan@outlook.fr>\n" "Last-Translator: Philippe GALVAN <git.philippe.galvan@outlook.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" "Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -1297,9 +1297,10 @@ msgid "The *limit* argument is passed to :meth:`get_stack` directly."
msgstr "Le paramètre *limit* est directement passé à :meth:`get_stack`." msgstr "Le paramètre *limit* est directement passé à :meth:`get_stack`."
#: library/asyncio-task.rst:1099 #: library/asyncio-task.rst:1099
#, fuzzy
msgid "" msgid ""
"The *file* argument is an I/O stream to which the output is written; by " "The *file* argument is an I/O stream to which the output is written; by "
"default output is written to :data:`sys.stderr`." "default output is written to :data:`sys.stdout`."
msgstr "" msgstr ""
"Le paramètre *file* est un flux d'entrées-sorties sur lequel le résultat est " "Le paramètre *file* est un flux d'entrées-sorties sur lequel le résultat est "
"écrit ; par défaut, :data:`sys.stderr`." "écrit ; par défaut, :data:`sys.stderr`."

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Python 3\n" "Project-Id-Version: Python 3\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-01-15 22:33+0100\n" "POT-Creation-Date: 2023-02-12 21:25+0100\n"
"PO-Revision-Date: 2018-07-04 11:26+0200\n" "PO-Revision-Date: 2018-07-04 11:26+0200\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n" "Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" "Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -1697,7 +1697,7 @@ msgstr ""
#: library/importlib.rst:1465 #: library/importlib.rst:1465
msgid "" msgid ""
"A static method which returns a callable that creates a lazy loader. This is " "A class method which returns a callable that creates a lazy loader. This is "
"meant to be used in situations where the loader is passed by class instead " "meant to be used in situations where the loader is passed by class instead "
"of by instance. ::" "of by instance. ::"
msgstr "" msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Python 3\n" "Project-Id-Version: Python 3\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-12 11:56+0100\n" "POT-Creation-Date: 2023-02-12 21:25+0100\n"
"PO-Revision-Date: 2019-03-26 15:55+0100\n" "PO-Revision-Date: 2019-03-26 15:55+0100\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n" "Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" "Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@ -773,8 +773,8 @@ msgstr ""
msgid "The *deterministic* parameter." msgid "The *deterministic* parameter."
msgstr "" msgstr ""
#: library/sqlite3.rst:705 library/sqlite3.rst:1019 library/sqlite3.rst:1362 #: library/sqlite3.rst:705 library/sqlite3.rst:1019 library/sqlite3.rst:1383
#: library/sqlite3.rst:1383 #: library/sqlite3.rst:1404
msgid "Example:" msgid "Example:"
msgstr "Exemple :" msgstr "Exemple :"
@ -1239,7 +1239,7 @@ msgid ""
"`tuple`." "`tuple`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1507 library/sqlite3.rst:1530 #: library/sqlite3.rst:1528 library/sqlite3.rst:1551
msgid "See :ref:`sqlite3-howto-row-factory` for more details." msgid "See :ref:`sqlite3-howto-row-factory` for more details."
msgstr "" msgstr ""
@ -1283,20 +1283,26 @@ msgstr ""
#: library/sqlite3.rst:1338 #: library/sqlite3.rst:1338
msgid "" msgid ""
"Execute SQL statement *sql*. Bind values to the statement using :ref:" "Execute SQL a single SQL statement, optionally binding Python values using :"
"`placeholders <sqlite3-placeholders>` that map to the :term:`sequence` or :" "ref:`placeholders <sqlite3-placeholders>`."
"class:`dict` *parameters*."
msgstr "" msgstr ""
#: library/sqlite3.rst:1343 #: library/sqlite3.rst:1342
msgid "A single SQL statement."
msgstr ""
#: library/sqlite3.rst:1345
msgid "" msgid ""
":meth:`execute` will only execute a single SQL statement. If you try to " "Python values to bind to placeholders in *sql*. A :class:`!dict` if named "
"execute more than one statement with it, it will raise a :exc:" "placeholders are used. A :term:`!sequence` if unnamed placeholders are used. "
"`ProgrammingError`. Use :meth:`executescript` if you want to execute " "See :ref:`sqlite3-placeholders`."
"multiple SQL statements with one call."
msgstr "" msgstr ""
#: library/sqlite3.rst:1348 #: library/sqlite3.rst:1352
msgid "If *sql* contains more than one SQL statement."
msgstr ""
#: library/sqlite3.rst:1355
msgid "" msgid ""
"If :attr:`~Connection.isolation_level` is not ``None``, *sql* is an " "If :attr:`~Connection.isolation_level` is not ``None``, *sql* is an "
"``INSERT``, ``UPDATE``, ``DELETE``, or ``REPLACE`` statement, and there is " "``INSERT``, ``UPDATE``, ``DELETE``, or ``REPLACE`` statement, and there is "
@ -1304,16 +1310,36 @@ msgid ""
"*sql*." "*sql*."
msgstr "" msgstr ""
#: library/sqlite3.rst:1356 #: library/sqlite3.rst:1360
msgid "" msgid "Use :meth:`executescript` to execute multiple SQL statements."
"Execute :ref:`parameterized <sqlite3-placeholders>` SQL statement *sql* "
"against all parameter sequences or mappings found in the sequence "
"*parameters*. It is also possible to use an :term:`iterator` yielding "
"parameters instead of a sequence. Uses the same implicit transaction "
"handling as :meth:`~Cursor.execute`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1375 #: library/sqlite3.rst:1364
msgid ""
"For every item in *parameters*, repeatedly execute the :ref:`parameterized "
"<sqlite3-placeholders>` SQL statement *sql*."
msgstr ""
#: library/sqlite3.rst:1368
msgid "Uses the same implicit transaction handling as :meth:`~Cursor.execute`."
msgstr ""
#: library/sqlite3.rst:1370
msgid "A single SQL :abbr:`DML (Data Manipulation Language)` statement."
msgstr ""
#: library/sqlite3.rst:1373
msgid ""
"An :term:`!iterable` of parameters to bind with the placeholders in *sql*. "
"See :ref:`sqlite3-placeholders`."
msgstr ""
#: library/sqlite3.rst:1379
msgid ""
"If *sql* contains more than one SQL statement, or is not a DML statment."
msgstr ""
#: library/sqlite3.rst:1396
msgid "" msgid ""
"Execute the SQL statements in *sql_script*. If there is a pending " "Execute the SQL statements in *sql_script*. If there is a pending "
"transaction, an implicit ``COMMIT`` statement is executed first. No other " "transaction, an implicit ``COMMIT`` statement is executed first. No other "
@ -1321,24 +1347,24 @@ msgid ""
"added to *sql_script*." "added to *sql_script*."
msgstr "" msgstr ""
#: library/sqlite3.rst:1381 #: library/sqlite3.rst:1402
msgid "*sql_script* must be a :class:`string <str>`." msgid "*sql_script* must be a :class:`string <str>`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1399 #: library/sqlite3.rst:1420
msgid "" msgid ""
"If :attr:`~Cursor.row_factory` is ``None``, return the next row query result " "If :attr:`~Cursor.row_factory` is ``None``, return the next row query result "
"set as a :class:`tuple`. Else, pass it to the row factory and return its " "set as a :class:`tuple`. Else, pass it to the row factory and return its "
"result. Return ``None`` if no more data is available." "result. Return ``None`` if no more data is available."
msgstr "" msgstr ""
#: library/sqlite3.rst:1407 #: library/sqlite3.rst:1428
msgid "" msgid ""
"Return the next set of rows of a query result as a :class:`list`. Return an " "Return the next set of rows of a query result as a :class:`list`. Return an "
"empty list if no more rows are available." "empty list if no more rows are available."
msgstr "" msgstr ""
#: library/sqlite3.rst:1410 #: library/sqlite3.rst:1431
msgid "" msgid ""
"The number of rows to fetch per call is specified by the *size* parameter. " "The number of rows to fetch per call is specified by the *size* parameter. "
"If *size* is not given, :attr:`arraysize` determines the number of rows to " "If *size* is not given, :attr:`arraysize` determines the number of rows to "
@ -1346,7 +1372,7 @@ msgid ""
"available are returned." "available are returned."
msgstr "" msgstr ""
#: library/sqlite3.rst:1416 #: library/sqlite3.rst:1437
msgid "" msgid ""
"Note there are performance considerations involved with the *size* " "Note there are performance considerations involved with the *size* "
"parameter. For optimal performance, it is usually best to use the arraysize " "parameter. For optimal performance, it is usually best to use the arraysize "
@ -1354,36 +1380,36 @@ msgid ""
"the same value from one :meth:`fetchmany` call to the next." "the same value from one :meth:`fetchmany` call to the next."
msgstr "" msgstr ""
#: library/sqlite3.rst:1423 #: library/sqlite3.rst:1444
msgid "" msgid ""
"Return all (remaining) rows of a query result as a :class:`list`. Return an " "Return all (remaining) rows of a query result as a :class:`list`. Return an "
"empty list if no rows are available. Note that the :attr:`arraysize` " "empty list if no rows are available. Note that the :attr:`arraysize` "
"attribute can affect the performance of this operation." "attribute can affect the performance of this operation."
msgstr "" msgstr ""
#: library/sqlite3.rst:1430 #: library/sqlite3.rst:1451
msgid "Close the cursor now (rather than whenever ``__del__`` is called)." msgid "Close the cursor now (rather than whenever ``__del__`` is called)."
msgstr "" msgstr ""
#: library/sqlite3.rst:1432 #: library/sqlite3.rst:1453
msgid "" msgid ""
"The cursor will be unusable from this point forward; a :exc:" "The cursor will be unusable from this point forward; a :exc:"
"`ProgrammingError` exception will be raised if any operation is attempted " "`ProgrammingError` exception will be raised if any operation is attempted "
"with the cursor." "with the cursor."
msgstr "" msgstr ""
#: library/sqlite3.rst:1441 #: library/sqlite3.rst:1462
msgid "Required by the DB-API. Does nothing in :mod:`!sqlite3`." msgid "Required by the DB-API. Does nothing in :mod:`!sqlite3`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1445 #: library/sqlite3.rst:1466
msgid "" msgid ""
"Read/write attribute that controls the number of rows returned by :meth:" "Read/write attribute that controls the number of rows returned by :meth:"
"`fetchmany`. The default value is 1 which means a single row would be " "`fetchmany`. The default value is 1 which means a single row would be "
"fetched per call." "fetched per call."
msgstr "" msgstr ""
#: library/sqlite3.rst:1450 #: library/sqlite3.rst:1471
msgid "" msgid ""
"Read-only attribute that provides the SQLite database :class:`Connection` " "Read-only attribute that provides the SQLite database :class:`Connection` "
"belonging to the cursor. A :class:`Cursor` object created by calling :meth:" "belonging to the cursor. A :class:`Cursor` object created by calling :meth:"
@ -1391,18 +1417,18 @@ msgid ""
"that refers to *con*:" "that refers to *con*:"
msgstr "" msgstr ""
#: library/sqlite3.rst:1464 #: library/sqlite3.rst:1485
msgid "" msgid ""
"Read-only attribute that provides the column names of the last query. To " "Read-only attribute that provides the column names of the last query. To "
"remain compatible with the Python DB API, it returns a 7-tuple for each " "remain compatible with the Python DB API, it returns a 7-tuple for each "
"column where the last six items of each tuple are ``None``." "column where the last six items of each tuple are ``None``."
msgstr "" msgstr ""
#: library/sqlite3.rst:1468 #: library/sqlite3.rst:1489
msgid "It is set for ``SELECT`` statements without any matching rows as well." msgid "It is set for ``SELECT`` statements without any matching rows as well."
msgstr "" msgstr ""
#: library/sqlite3.rst:1472 #: library/sqlite3.rst:1493
msgid "" msgid ""
"Read-only attribute that provides the row id of the last inserted row. It is " "Read-only attribute that provides the row id of the last inserted row. It is "
"only updated after successful ``INSERT`` or ``REPLACE`` statements using " "only updated after successful ``INSERT`` or ``REPLACE`` statements using "
@ -1412,15 +1438,15 @@ msgid ""
"``None``." "``None``."
msgstr "" msgstr ""
#: library/sqlite3.rst:1480 #: library/sqlite3.rst:1501
msgid "Inserts into ``WITHOUT ROWID`` tables are not recorded." msgid "Inserts into ``WITHOUT ROWID`` tables are not recorded."
msgstr "" msgstr ""
#: library/sqlite3.rst:1482 #: library/sqlite3.rst:1503
msgid "Added support for the ``REPLACE`` statement." msgid "Added support for the ``REPLACE`` statement."
msgstr "" msgstr ""
#: library/sqlite3.rst:1487 #: library/sqlite3.rst:1508
msgid "" msgid ""
"Read-only attribute that provides the number of modified rows for " "Read-only attribute that provides the number of modified rows for "
"``INSERT``, ``UPDATE``, ``DELETE``, and ``REPLACE`` statements; is ``-1`` " "``INSERT``, ``UPDATE``, ``DELETE``, and ``REPLACE`` statements; is ``-1`` "
@ -1429,7 +1455,7 @@ msgid ""
"methods." "methods."
msgstr "" msgstr ""
#: library/sqlite3.rst:1495 #: library/sqlite3.rst:1516
msgid "" msgid ""
"Control how a row fetched from this :class:`!Cursor` is represented. If " "Control how a row fetched from this :class:`!Cursor` is represented. If "
"``None``, a row is represented as a :class:`tuple`. Can be set to the " "``None``, a row is represented as a :class:`tuple`. Can be set to the "
@ -1438,19 +1464,19 @@ msgid ""
"and returns a custom object representing an SQLite row." "and returns a custom object representing an SQLite row."
msgstr "" msgstr ""
#: library/sqlite3.rst:1502 #: library/sqlite3.rst:1523
msgid "" msgid ""
"Defaults to what :attr:`Connection.row_factory` was set to when the :class:`!" "Defaults to what :attr:`Connection.row_factory` was set to when the :class:`!"
"Cursor` was created. Assigning to this attribute does not affect :attr:" "Cursor` was created. Assigning to this attribute does not affect :attr:"
"`Connection.row_factory` of the parent connection." "`Connection.row_factory` of the parent connection."
msgstr "" msgstr ""
#: library/sqlite3.rst:1518 #: library/sqlite3.rst:1539
#, fuzzy #, fuzzy
msgid "Row objects" msgid "Row objects"
msgstr "Objets de connexions" msgstr "Objets de connexions"
#: library/sqlite3.rst:1522 #: library/sqlite3.rst:1543
msgid "" msgid ""
"A :class:`!Row` instance serves as a highly optimized :attr:`~Connection." "A :class:`!Row` instance serves as a highly optimized :attr:`~Connection."
"row_factory` for :class:`Connection` objects. It supports iteration, " "row_factory` for :class:`Connection` objects. It supports iteration, "
@ -1458,29 +1484,29 @@ msgid ""
"index." "index."
msgstr "" msgstr ""
#: library/sqlite3.rst:1527 #: library/sqlite3.rst:1548
msgid "" msgid ""
"Two :class:`!Row` objects compare equal if they have identical column names " "Two :class:`!Row` objects compare equal if they have identical column names "
"and values." "and values."
msgstr "" msgstr ""
#: library/sqlite3.rst:1534 #: library/sqlite3.rst:1555
msgid "" msgid ""
"Return a :class:`list` of column names as :class:`strings <str>`. " "Return a :class:`list` of column names as :class:`strings <str>`. "
"Immediately after a query, it is the first member of each tuple in :attr:" "Immediately after a query, it is the first member of each tuple in :attr:"
"`Cursor.description`." "`Cursor.description`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1538 #: library/sqlite3.rst:1559
msgid "Added support of slicing." msgid "Added support of slicing."
msgstr "" msgstr ""
#: library/sqlite3.rst:1545 #: library/sqlite3.rst:1566
#, fuzzy #, fuzzy
msgid "Blob objects" msgid "Blob objects"
msgstr "Objets de connexions" msgstr "Objets de connexions"
#: library/sqlite3.rst:1551 #: library/sqlite3.rst:1572
msgid "" msgid ""
"A :class:`Blob` instance is a :term:`file-like object` that can read and " "A :class:`Blob` instance is a :term:`file-like object` that can read and "
"write data in an SQLite :abbr:`BLOB (Binary Large OBject)`. Call :func:" "write data in an SQLite :abbr:`BLOB (Binary Large OBject)`. Call :func:"
@ -1488,24 +1514,24 @@ msgid ""
"and :term:`slices <slice>` for direct access to the blob data." "and :term:`slices <slice>` for direct access to the blob data."
msgstr "" msgstr ""
#: library/sqlite3.rst:1556 #: library/sqlite3.rst:1577
msgid "" msgid ""
"Use the :class:`Blob` as a :term:`context manager` to ensure that the blob " "Use the :class:`Blob` as a :term:`context manager` to ensure that the blob "
"handle is closed after use." "handle is closed after use."
msgstr "" msgstr ""
#: library/sqlite3.rst:1586 #: library/sqlite3.rst:1607
msgid "Close the blob." msgid "Close the blob."
msgstr "" msgstr ""
#: library/sqlite3.rst:1588 #: library/sqlite3.rst:1609
msgid "" msgid ""
"The blob will be unusable from this point onward. An :class:`~sqlite3." "The blob will be unusable from this point onward. An :class:`~sqlite3."
"Error` (or subclass) exception will be raised if any further operation is " "Error` (or subclass) exception will be raised if any further operation is "
"attempted with the blob." "attempted with the blob."
msgstr "" msgstr ""
#: library/sqlite3.rst:1594 #: library/sqlite3.rst:1615
msgid "" msgid ""
"Read *length* bytes of data from the blob at the current offset position. If " "Read *length* bytes of data from the blob at the current offset position. If "
"the end of the blob is reached, the data up to :abbr:`EOF (End of File)` " "the end of the blob is reached, the data up to :abbr:`EOF (End of File)` "
@ -1513,18 +1539,18 @@ msgid ""
"`~Blob.read` will read until the end of the blob." "`~Blob.read` will read until the end of the blob."
msgstr "" msgstr ""
#: library/sqlite3.rst:1602 #: library/sqlite3.rst:1623
msgid "" msgid ""
"Write *data* to the blob at the current offset. This function cannot change " "Write *data* to the blob at the current offset. This function cannot change "
"the blob length. Writing beyond the end of the blob will raise :exc:" "the blob length. Writing beyond the end of the blob will raise :exc:"
"`ValueError`." "`ValueError`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1608 #: library/sqlite3.rst:1629
msgid "Return the current access position of the blob." msgid "Return the current access position of the blob."
msgstr "" msgstr ""
#: library/sqlite3.rst:1612 #: library/sqlite3.rst:1633
msgid "" msgid ""
"Set the current access position of the blob to *offset*. The *origin* " "Set the current access position of the blob to *offset*. The *origin* "
"argument defaults to :data:`os.SEEK_SET` (absolute blob positioning). Other " "argument defaults to :data:`os.SEEK_SET` (absolute blob positioning). Other "
@ -1532,26 +1558,26 @@ msgid ""
"position) and :data:`os.SEEK_END` (seek relative to the blobs end)." "position) and :data:`os.SEEK_END` (seek relative to the blobs end)."
msgstr "" msgstr ""
#: library/sqlite3.rst:1620 #: library/sqlite3.rst:1641
msgid "PrepareProtocol objects" msgid "PrepareProtocol objects"
msgstr "" msgstr ""
#: library/sqlite3.rst:1624 #: library/sqlite3.rst:1645
msgid "" msgid ""
"The PrepareProtocol type's single purpose is to act as a :pep:`246` style " "The PrepareProtocol type's single purpose is to act as a :pep:`246` style "
"adaption protocol for objects that can :ref:`adapt themselves <sqlite3-" "adaption protocol for objects that can :ref:`adapt themselves <sqlite3-"
"conform>` to :ref:`native SQLite types <sqlite3-types>`." "conform>` to :ref:`native SQLite types <sqlite3-types>`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1632 #: library/sqlite3.rst:1653
msgid "Exceptions" msgid "Exceptions"
msgstr "Exceptions" msgstr "Exceptions"
#: library/sqlite3.rst:1634 #: library/sqlite3.rst:1655
msgid "The exception hierarchy is defined by the DB-API 2.0 (:pep:`249`)." msgid "The exception hierarchy is defined by the DB-API 2.0 (:pep:`249`)."
msgstr "" msgstr ""
#: library/sqlite3.rst:1638 #: library/sqlite3.rst:1659
msgid "" msgid ""
"This exception is not currently raised by the :mod:`!sqlite3` module, but " "This exception is not currently raised by the :mod:`!sqlite3` module, but "
"may be raised by applications using :mod:`!sqlite3`, for example if a user-" "may be raised by applications using :mod:`!sqlite3`, for example if a user-"
@ -1559,39 +1585,39 @@ msgid ""
"of :exc:`Exception`." "of :exc:`Exception`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1645 #: library/sqlite3.rst:1666
msgid "" msgid ""
"The base class of the other exceptions in this module. Use this to catch all " "The base class of the other exceptions in this module. Use this to catch all "
"errors with one single :keyword:`except` statement. ``Error`` is a subclass " "errors with one single :keyword:`except` statement. ``Error`` is a subclass "
"of :exc:`Exception`." "of :exc:`Exception`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1649 #: library/sqlite3.rst:1670
msgid "" msgid ""
"If the exception originated from within the SQLite library, the following " "If the exception originated from within the SQLite library, the following "
"two attributes are added to the exception:" "two attributes are added to the exception:"
msgstr "" msgstr ""
#: library/sqlite3.rst:1654 #: library/sqlite3.rst:1675
msgid "" msgid ""
"The numeric error code from the `SQLite API <https://sqlite.org/rescode." "The numeric error code from the `SQLite API <https://sqlite.org/rescode."
"html>`_" "html>`_"
msgstr "" msgstr ""
#: library/sqlite3.rst:1661 #: library/sqlite3.rst:1682
msgid "" msgid ""
"The symbolic name of the numeric error code from the `SQLite API <https://" "The symbolic name of the numeric error code from the `SQLite API <https://"
"sqlite.org/rescode.html>`_" "sqlite.org/rescode.html>`_"
msgstr "" msgstr ""
#: library/sqlite3.rst:1668 #: library/sqlite3.rst:1689
msgid "" msgid ""
"Exception raised for misuse of the low-level SQLite C API. In other words, " "Exception raised for misuse of the low-level SQLite C API. In other words, "
"if this exception is raised, it probably indicates a bug in the :mod:`!" "if this exception is raised, it probably indicates a bug in the :mod:`!"
"sqlite3` module. ``InterfaceError`` is a subclass of :exc:`Error`." "sqlite3` module. ``InterfaceError`` is a subclass of :exc:`Error`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1675 #: library/sqlite3.rst:1696
msgid "" msgid ""
"Exception raised for errors that are related to the database. This serves as " "Exception raised for errors that are related to the database. This serves as "
"the base exception for several types of database errors. It is only raised " "the base exception for several types of database errors. It is only raised "
@ -1599,14 +1625,14 @@ msgid ""
"subclass of :exc:`Error`." "subclass of :exc:`Error`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1682 #: library/sqlite3.rst:1703
msgid "" msgid ""
"Exception raised for errors caused by problems with the processed data, like " "Exception raised for errors caused by problems with the processed data, like "
"numeric values out of range, and strings which are too long. ``DataError`` " "numeric values out of range, and strings which are too long. ``DataError`` "
"is a subclass of :exc:`DatabaseError`." "is a subclass of :exc:`DatabaseError`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1688 #: library/sqlite3.rst:1709
msgid "" msgid ""
"Exception raised for errors that are related to the database's operation, " "Exception raised for errors that are related to the database's operation, "
"and not necessarily under the control of the programmer. For example, the " "and not necessarily under the control of the programmer. For example, the "
@ -1614,20 +1640,20 @@ msgid ""
"``OperationalError`` is a subclass of :exc:`DatabaseError`." "``OperationalError`` is a subclass of :exc:`DatabaseError`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1696 #: library/sqlite3.rst:1717
msgid "" msgid ""
"Exception raised when the relational integrity of the database is affected, " "Exception raised when the relational integrity of the database is affected, "
"e.g. a foreign key check fails. It is a subclass of :exc:`DatabaseError`." "e.g. a foreign key check fails. It is a subclass of :exc:`DatabaseError`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1701 #: library/sqlite3.rst:1722
msgid "" msgid ""
"Exception raised when SQLite encounters an internal error. If this is " "Exception raised when SQLite encounters an internal error. If this is "
"raised, it may indicate that there is a problem with the runtime SQLite " "raised, it may indicate that there is a problem with the runtime SQLite "
"library. ``InternalError`` is a subclass of :exc:`DatabaseError`." "library. ``InternalError`` is a subclass of :exc:`DatabaseError`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1708 #: library/sqlite3.rst:1729
msgid "" msgid ""
"Exception raised for :mod:`!sqlite3` API programming errors, for example " "Exception raised for :mod:`!sqlite3` API programming errors, for example "
"supplying the wrong number of bindings to a query, or trying to operate on a " "supplying the wrong number of bindings to a query, or trying to operate on a "
@ -1635,7 +1661,7 @@ msgid ""
"`DatabaseError`." "`DatabaseError`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1715 #: library/sqlite3.rst:1736
msgid "" msgid ""
"Exception raised in case a method or database API is not supported by the " "Exception raised in case a method or database API is not supported by the "
"underlying SQLite library. For example, setting *deterministic* to ``True`` " "underlying SQLite library. For example, setting *deterministic* to ``True`` "
@ -1644,78 +1670,78 @@ msgid ""
"subclass of :exc:`DatabaseError`." "subclass of :exc:`DatabaseError`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1725 #: library/sqlite3.rst:1746
msgid "SQLite and Python types" msgid "SQLite and Python types"
msgstr "" msgstr ""
#: library/sqlite3.rst:1727 #: library/sqlite3.rst:1748
msgid "" msgid ""
"SQLite natively supports the following types: ``NULL``, ``INTEGER``, " "SQLite natively supports the following types: ``NULL``, ``INTEGER``, "
"``REAL``, ``TEXT``, ``BLOB``." "``REAL``, ``TEXT``, ``BLOB``."
msgstr "" msgstr ""
#: library/sqlite3.rst:1730 #: library/sqlite3.rst:1751
msgid "" msgid ""
"The following Python types can thus be sent to SQLite without any problem:" "The following Python types can thus be sent to SQLite without any problem:"
msgstr "" msgstr ""
#: library/sqlite3.rst:1750 #: library/sqlite3.rst:1771
msgid "Python type" msgid "Python type"
msgstr "Type Python" msgstr "Type Python"
#: library/sqlite3.rst:1750 #: library/sqlite3.rst:1771
msgid "SQLite type" msgid "SQLite type"
msgstr "SQLite type" msgstr "SQLite type"
#: library/sqlite3.rst:1752 #: library/sqlite3.rst:1773
msgid "``None``" msgid "``None``"
msgstr "" msgstr ""
#: library/sqlite3.rst:1752 #: library/sqlite3.rst:1773
msgid "``NULL``" msgid "``NULL``"
msgstr "``NULL``" msgstr "``NULL``"
#: library/sqlite3.rst:1754 #: library/sqlite3.rst:1775
msgid ":class:`int`" msgid ":class:`int`"
msgstr ":class:`int`" msgstr ":class:`int`"
#: library/sqlite3.rst:1754 #: library/sqlite3.rst:1775
msgid "``INTEGER``" msgid "``INTEGER``"
msgstr "``INTEGER``" msgstr "``INTEGER``"
#: library/sqlite3.rst:1756 #: library/sqlite3.rst:1777
msgid ":class:`float`" msgid ":class:`float`"
msgstr ":class:`float`" msgstr ":class:`float`"
#: library/sqlite3.rst:1756 #: library/sqlite3.rst:1777
msgid "``REAL``" msgid "``REAL``"
msgstr "``REAL``" msgstr "``REAL``"
#: library/sqlite3.rst:1741 #: library/sqlite3.rst:1762
msgid ":class:`str`" msgid ":class:`str`"
msgstr ":class:`str`" msgstr ":class:`str`"
#: library/sqlite3.rst:1758 #: library/sqlite3.rst:1779
msgid "``TEXT``" msgid "``TEXT``"
msgstr "``TEXT``" msgstr "``TEXT``"
#: library/sqlite3.rst:1761 #: library/sqlite3.rst:1782
msgid ":class:`bytes`" msgid ":class:`bytes`"
msgstr ":class:`bytes`" msgstr ":class:`bytes`"
#: library/sqlite3.rst:1761 #: library/sqlite3.rst:1782
msgid "``BLOB``" msgid "``BLOB``"
msgstr "``BLOB``" msgstr "``BLOB``"
#: library/sqlite3.rst:1747 #: library/sqlite3.rst:1768
msgid "This is how SQLite types are converted to Python types by default:" msgid "This is how SQLite types are converted to Python types by default:"
msgstr "" msgstr ""
#: library/sqlite3.rst:1758 #: library/sqlite3.rst:1779
msgid "depends on :attr:`~Connection.text_factory`, :class:`str` by default" msgid "depends on :attr:`~Connection.text_factory`, :class:`str` by default"
msgstr "" msgstr ""
#: library/sqlite3.rst:1764 #: library/sqlite3.rst:1785
msgid "" msgid ""
"The type system of the :mod:`!sqlite3` module is extensible in two ways: you " "The type system of the :mod:`!sqlite3` module is extensible in two ways: you "
"can store additional Python types in an SQLite database via :ref:`object " "can store additional Python types in an SQLite database via :ref:`object "
@ -1724,42 +1750,42 @@ msgid ""
"converters>`." "converters>`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1774 #: library/sqlite3.rst:1795
msgid "Default adapters and converters" msgid "Default adapters and converters"
msgstr "" msgstr ""
#: library/sqlite3.rst:1776 #: library/sqlite3.rst:1797
msgid "" msgid ""
"There are default adapters for the date and datetime types in the datetime " "There are default adapters for the date and datetime types in the datetime "
"module. They will be sent as ISO dates/ISO timestamps to SQLite." "module. They will be sent as ISO dates/ISO timestamps to SQLite."
msgstr "" msgstr ""
#: library/sqlite3.rst:1779 #: library/sqlite3.rst:1800
msgid "" msgid ""
"The default converters are registered under the name \"date\" for :class:" "The default converters are registered under the name \"date\" for :class:"
"`datetime.date` and under the name \"timestamp\" for :class:`datetime." "`datetime.date` and under the name \"timestamp\" for :class:`datetime."
"datetime`." "datetime`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1783 #: library/sqlite3.rst:1804
msgid "" msgid ""
"This way, you can use date/timestamps from Python without any additional " "This way, you can use date/timestamps from Python without any additional "
"fiddling in most cases. The format of the adapters is also compatible with " "fiddling in most cases. The format of the adapters is also compatible with "
"the experimental SQLite date/time functions." "the experimental SQLite date/time functions."
msgstr "" msgstr ""
#: library/sqlite3.rst:1787 #: library/sqlite3.rst:1808
msgid "The following example demonstrates this." msgid "The following example demonstrates this."
msgstr "" msgstr ""
#: library/sqlite3.rst:1791 #: library/sqlite3.rst:1812
msgid "" msgid ""
"If a timestamp stored in SQLite has a fractional part longer than 6 numbers, " "If a timestamp stored in SQLite has a fractional part longer than 6 numbers, "
"its value will be truncated to microsecond precision by the timestamp " "its value will be truncated to microsecond precision by the timestamp "
"converter." "converter."
msgstr "" msgstr ""
#: library/sqlite3.rst:1797 #: library/sqlite3.rst:1818
msgid "" msgid ""
"The default \"timestamp\" converter ignores UTC offsets in the database and " "The default \"timestamp\" converter ignores UTC offsets in the database and "
"always returns a naive :class:`datetime.datetime` object. To preserve UTC " "always returns a naive :class:`datetime.datetime` object. To preserve UTC "
@ -1767,15 +1793,15 @@ msgid ""
"offset-aware converter with :func:`register_converter`." "offset-aware converter with :func:`register_converter`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1806 #: library/sqlite3.rst:1827
msgid "How-to guides" msgid "How-to guides"
msgstr "" msgstr ""
#: library/sqlite3.rst:1811 #: library/sqlite3.rst:1832
msgid "How to use placeholders to bind values in SQL queries" msgid "How to use placeholders to bind values in SQL queries"
msgstr "" msgstr ""
#: library/sqlite3.rst:1813 #: library/sqlite3.rst:1834
#, fuzzy #, fuzzy
msgid "" msgid ""
"SQL operations usually need to use values from Python variables. However, " "SQL operations usually need to use values from Python variables. However, "
@ -1789,7 +1815,7 @@ msgstr ""
"votre programme vulnérable à une attaque par injection SQL (voir https://" "votre programme vulnérable à une attaque par injection SQL (voir https://"
"xkcd.com/327/ pour un exemple amusant de ce qui peut mal tourner)." "xkcd.com/327/ pour un exemple amusant de ce qui peut mal tourner)."
#: library/sqlite3.rst:1826 #: library/sqlite3.rst:1847
#, fuzzy #, fuzzy
msgid "" msgid ""
"Instead, use the DB-API's parameter substitution. To insert a variable into " "Instead, use the DB-API's parameter substitution. To insert a variable into "
@ -1803,7 +1829,7 @@ msgstr ""
"meth:`~Cursor.execute`. D'autres modules de base de données peuvent utiliser " "meth:`~Cursor.execute`. D'autres modules de base de données peuvent utiliser "
"un espace réservé différent, tel que ``%s`` ou ``:1``. Par exemple ::" "un espace réservé différent, tel que ``%s`` ou ``:1``. Par exemple ::"
#: library/sqlite3.rst:1831 #: library/sqlite3.rst:1852
msgid "" msgid ""
"An SQL statement may use one of two kinds of placeholders: question marks " "An SQL statement may use one of two kinds of placeholders: question marks "
"(qmark style) or named placeholders (named style). For the qmark style, " "(qmark style) or named placeholders (named style). For the qmark style, "
@ -1814,24 +1840,24 @@ msgid ""
"are ignored. Here's an example of both styles:" "are ignored. Here's an example of both styles:"
msgstr "" msgstr ""
#: library/sqlite3.rst:1868 #: library/sqlite3.rst:1889
msgid "" msgid ""
":pep:`249` numeric placeholders are *not* supported. If used, they will be " ":pep:`249` numeric placeholders are *not* supported. If used, they will be "
"interpreted as named placeholders." "interpreted as named placeholders."
msgstr "" msgstr ""
#: library/sqlite3.rst:1875 #: library/sqlite3.rst:1896
msgid "How to adapt custom Python types to SQLite values" msgid "How to adapt custom Python types to SQLite values"
msgstr "" msgstr ""
#: library/sqlite3.rst:1877 #: library/sqlite3.rst:1898
msgid "" msgid ""
"SQLite supports only a limited set of data types natively. To store custom " "SQLite supports only a limited set of data types natively. To store custom "
"Python types in SQLite databases, *adapt* them to one of the :ref:`Python " "Python types in SQLite databases, *adapt* them to one of the :ref:`Python "
"types SQLite natively understands <sqlite3-types>`." "types SQLite natively understands <sqlite3-types>`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1881 #: library/sqlite3.rst:1902
msgid "" msgid ""
"There are two ways to adapt Python objects to SQLite types: letting your " "There are two ways to adapt Python objects to SQLite types: letting your "
"object adapt itself, or using an *adapter callable*. The latter will take " "object adapt itself, or using an *adapter callable*. The latter will take "
@ -1841,11 +1867,11 @@ msgid ""
"custom adapter functions." "custom adapter functions."
msgstr "" msgstr ""
#: library/sqlite3.rst:1893 #: library/sqlite3.rst:1914
msgid "How to write adaptable objects" msgid "How to write adaptable objects"
msgstr "" msgstr ""
#: library/sqlite3.rst:1895 #: library/sqlite3.rst:1916
msgid "" msgid ""
"Suppose we have a :class:`!Point` class that represents a pair of " "Suppose we have a :class:`!Point` class that represents a pair of "
"coordinates, ``x`` and ``y``, in a Cartesian coordinate system. The " "coordinates, ``x`` and ``y``, in a Cartesian coordinate system. The "
@ -1855,84 +1881,84 @@ msgid ""
"object passed to *protocol* will be of type :class:`PrepareProtocol`." "object passed to *protocol* will be of type :class:`PrepareProtocol`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1926 #: library/sqlite3.rst:1947
msgid "How to register adapter callables" msgid "How to register adapter callables"
msgstr "" msgstr ""
#: library/sqlite3.rst:1928 #: library/sqlite3.rst:1949
msgid "" msgid ""
"The other possibility is to create a function that converts the Python " "The other possibility is to create a function that converts the Python "
"object to an SQLite-compatible type. This function can then be registered " "object to an SQLite-compatible type. This function can then be registered "
"using :func:`register_adapter`." "using :func:`register_adapter`."
msgstr "" msgstr ""
#: library/sqlite3.rst:1958 #: library/sqlite3.rst:1979
msgid "How to convert SQLite values to custom Python types" msgid "How to convert SQLite values to custom Python types"
msgstr "" msgstr ""
#: library/sqlite3.rst:1960 #: library/sqlite3.rst:1981
msgid "" msgid ""
"Writing an adapter lets you convert *from* custom Python types *to* SQLite " "Writing an adapter lets you convert *from* custom Python types *to* SQLite "
"values. To be able to convert *from* SQLite values *to* custom Python types, " "values. To be able to convert *from* SQLite values *to* custom Python types, "
"we use *converters*." "we use *converters*."
msgstr "" msgstr ""
#: library/sqlite3.rst:1965 #: library/sqlite3.rst:1986
msgid "" msgid ""
"Let's go back to the :class:`!Point` class. We stored the x and y " "Let's go back to the :class:`!Point` class. We stored the x and y "
"coordinates separated via semicolons as strings in SQLite." "coordinates separated via semicolons as strings in SQLite."
msgstr "" msgstr ""
#: library/sqlite3.rst:1968 #: library/sqlite3.rst:1989
msgid "" msgid ""
"First, we'll define a converter function that accepts the string as a " "First, we'll define a converter function that accepts the string as a "
"parameter and constructs a :class:`!Point` object from it." "parameter and constructs a :class:`!Point` object from it."
msgstr "" msgstr ""
#: library/sqlite3.rst:1973 #: library/sqlite3.rst:1994
msgid "" msgid ""
"Converter functions are **always** passed a :class:`bytes` object, no matter " "Converter functions are **always** passed a :class:`bytes` object, no matter "
"the underlying SQLite data type." "the underlying SQLite data type."
msgstr "" msgstr ""
#: library/sqlite3.rst:1982 #: library/sqlite3.rst:2003
msgid "" msgid ""
"We now need to tell :mod:`!sqlite3` when it should convert a given SQLite " "We now need to tell :mod:`!sqlite3` when it should convert a given SQLite "
"value. This is done when connecting to a database, using the *detect_types* " "value. This is done when connecting to a database, using the *detect_types* "
"parameter of :func:`connect`. There are three options:" "parameter of :func:`connect`. There are three options:"
msgstr "" msgstr ""
#: library/sqlite3.rst:1986 #: library/sqlite3.rst:2007
msgid "Implicit: set *detect_types* to :const:`PARSE_DECLTYPES`" msgid "Implicit: set *detect_types* to :const:`PARSE_DECLTYPES`"
msgstr "" msgstr ""
#: library/sqlite3.rst:1987 #: library/sqlite3.rst:2008
msgid "Explicit: set *detect_types* to :const:`PARSE_COLNAMES`" msgid "Explicit: set *detect_types* to :const:`PARSE_COLNAMES`"
msgstr "" msgstr ""
#: library/sqlite3.rst:1988 #: library/sqlite3.rst:2009
msgid "" msgid ""
"Both: set *detect_types* to ``sqlite3.PARSE_DECLTYPES | sqlite3." "Both: set *detect_types* to ``sqlite3.PARSE_DECLTYPES | sqlite3."
"PARSE_COLNAMES``. Column names take precedence over declared types." "PARSE_COLNAMES``. Column names take precedence over declared types."
msgstr "" msgstr ""
#: library/sqlite3.rst:1992 #: library/sqlite3.rst:2013
msgid "The following example illustrates the implicit and explicit approaches:" msgid "The following example illustrates the implicit and explicit approaches:"
msgstr "" msgstr ""
#: library/sqlite3.rst:2043 #: library/sqlite3.rst:2064
msgid "Adapter and converter recipes" msgid "Adapter and converter recipes"
msgstr "" msgstr ""
#: library/sqlite3.rst:2045 #: library/sqlite3.rst:2066
msgid "This section shows recipes for common adapters and converters." msgid "This section shows recipes for common adapters and converters."
msgstr "" msgstr ""
#: library/sqlite3.rst:2107 #: library/sqlite3.rst:2128
msgid "How to use connection shortcut methods" msgid "How to use connection shortcut methods"
msgstr "" msgstr ""
#: library/sqlite3.rst:2109 #: library/sqlite3.rst:2130
msgid "" msgid ""
"Using the :meth:`~Connection.execute`, :meth:`~Connection.executemany`, and :" "Using the :meth:`~Connection.execute`, :meth:`~Connection.executemany`, and :"
"meth:`~Connection.executescript` methods of the :class:`Connection` class, " "meth:`~Connection.executescript` methods of the :class:`Connection` class, "
@ -1944,11 +1970,11 @@ msgid ""
"object." "object."
msgstr "" msgstr ""
#: library/sqlite3.rst:2150 #: library/sqlite3.rst:2171
msgid "How to use the connection context manager" msgid "How to use the connection context manager"
msgstr "" msgstr ""
#: library/sqlite3.rst:2152 #: library/sqlite3.rst:2173
msgid "" msgid ""
"A :class:`Connection` object can be used as a context manager that " "A :class:`Connection` object can be used as a context manager that "
"automatically commits or rolls back open transactions when leaving the body " "automatically commits or rolls back open transactions when leaving the body "
@ -1958,58 +1984,58 @@ msgid ""
"exception, the transaction is rolled back." "exception, the transaction is rolled back."
msgstr "" msgstr ""
#: library/sqlite3.rst:2161 #: library/sqlite3.rst:2182
msgid "" msgid ""
"If there is no open transaction upon leaving the body of the ``with`` " "If there is no open transaction upon leaving the body of the ``with`` "
"statement, the context manager is a no-op." "statement, the context manager is a no-op."
msgstr "" msgstr ""
#: library/sqlite3.rst:2166 #: library/sqlite3.rst:2187
msgid "" msgid ""
"The context manager neither implicitly opens a new transaction nor closes " "The context manager neither implicitly opens a new transaction nor closes "
"the connection." "the connection."
msgstr "" msgstr ""
#: library/sqlite3.rst:2199 #: library/sqlite3.rst:2220
msgid "How to work with SQLite URIs" msgid "How to work with SQLite URIs"
msgstr "" msgstr ""
#: library/sqlite3.rst:2201 #: library/sqlite3.rst:2222
msgid "Some useful URI tricks include:" msgid "Some useful URI tricks include:"
msgstr "" msgstr ""
#: library/sqlite3.rst:2203 #: library/sqlite3.rst:2224
msgid "Open a database in read-only mode:" msgid "Open a database in read-only mode:"
msgstr "" msgstr ""
#: library/sqlite3.rst:2212 #: library/sqlite3.rst:2233
msgid "" msgid ""
"Do not implicitly create a new database file if it does not already exist; " "Do not implicitly create a new database file if it does not already exist; "
"will raise :exc:`~sqlite3.OperationalError` if unable to create a new file:" "will raise :exc:`~sqlite3.OperationalError` if unable to create a new file:"
msgstr "" msgstr ""
#: library/sqlite3.rst:2222 #: library/sqlite3.rst:2243
msgid "Create a shared named in-memory database:" msgid "Create a shared named in-memory database:"
msgstr "" msgstr ""
#: library/sqlite3.rst:2236 #: library/sqlite3.rst:2257
msgid "" msgid ""
"More information about this feature, including a list of parameters, can be " "More information about this feature, including a list of parameters, can be "
"found in the `SQLite URI documentation`_." "found in the `SQLite URI documentation`_."
msgstr "" msgstr ""
#: library/sqlite3.rst:2245 #: library/sqlite3.rst:2266
msgid "How to create and use row factories" msgid "How to create and use row factories"
msgstr "" msgstr ""
#: library/sqlite3.rst:2247 #: library/sqlite3.rst:2268
msgid "" msgid ""
"By default, :mod:`!sqlite3` represents each row as a :class:`tuple`. If a :" "By default, :mod:`!sqlite3` represents each row as a :class:`tuple`. If a :"
"class:`!tuple` does not suit your needs, you can use the :class:`sqlite3." "class:`!tuple` does not suit your needs, you can use the :class:`sqlite3."
"Row` class or a custom :attr:`~Cursor.row_factory`." "Row` class or a custom :attr:`~Cursor.row_factory`."
msgstr "" msgstr ""
#: library/sqlite3.rst:2252 #: library/sqlite3.rst:2273
msgid "" msgid ""
"While :attr:`!row_factory` exists as an attribute both on the :class:" "While :attr:`!row_factory` exists as an attribute both on the :class:"
"`Cursor` and the :class:`Connection`, it is recommended to set :class:" "`Cursor` and the :class:`Connection`, it is recommended to set :class:"
@ -2017,7 +2043,7 @@ msgid ""
"use the same row factory." "use the same row factory."
msgstr "" msgstr ""
#: library/sqlite3.rst:2257 #: library/sqlite3.rst:2278
msgid "" msgid ""
":class:`!Row` provides indexed and case-insensitive named access to columns, " ":class:`!Row` provides indexed and case-insensitive named access to columns, "
"with minimal memory overhead and performance impact over a :class:`!tuple`. " "with minimal memory overhead and performance impact over a :class:`!tuple`. "
@ -2025,52 +2051,52 @@ msgid ""
"attribute:" "attribute:"
msgstr "" msgstr ""
#: library/sqlite3.rst:2267 #: library/sqlite3.rst:2288
msgid "Queries now return :class:`!Row` objects:" msgid "Queries now return :class:`!Row` objects:"
msgstr "" msgstr ""
#: library/sqlite3.rst:2282 #: library/sqlite3.rst:2303
msgid "" msgid ""
"You can create a custom :attr:`~Cursor.row_factory` that returns each row as " "You can create a custom :attr:`~Cursor.row_factory` that returns each row as "
"a :class:`dict`, with column names mapped to values:" "a :class:`dict`, with column names mapped to values:"
msgstr "" msgstr ""
#: library/sqlite3.rst:2291 #: library/sqlite3.rst:2312
msgid "" msgid ""
"Using it, queries now return a :class:`!dict` instead of a :class:`!tuple`:" "Using it, queries now return a :class:`!dict` instead of a :class:`!tuple`:"
msgstr "" msgstr ""
#: library/sqlite3.rst:2301 #: library/sqlite3.rst:2322
msgid "The following row factory returns a :term:`named tuple`:" msgid "The following row factory returns a :term:`named tuple`:"
msgstr "" msgstr ""
#: library/sqlite3.rst:2312 #: library/sqlite3.rst:2333
msgid ":func:`!namedtuple_factory` can be used as follows:" msgid ":func:`!namedtuple_factory` can be used as follows:"
msgstr "" msgstr ""
#: library/sqlite3.rst:2327 #: library/sqlite3.rst:2348
msgid "" msgid ""
"With some adjustments, the above recipe can be adapted to use a :class:" "With some adjustments, the above recipe can be adapted to use a :class:"
"`~dataclasses.dataclass`, or any other custom class, instead of a :class:" "`~dataclasses.dataclass`, or any other custom class, instead of a :class:"
"`~collections.namedtuple`." "`~collections.namedtuple`."
msgstr "" msgstr ""
#: library/sqlite3.rst:2335 #: library/sqlite3.rst:2356
#, fuzzy #, fuzzy
msgid "Explanation" msgid "Explanation"
msgstr "Exceptions" msgstr "Exceptions"
#: library/sqlite3.rst:2340 #: library/sqlite3.rst:2361
msgid "Transaction control" msgid "Transaction control"
msgstr "" msgstr ""
#: library/sqlite3.rst:2342 #: library/sqlite3.rst:2363
msgid "" msgid ""
"The :mod:`!sqlite3` module does not adhere to the transaction handling " "The :mod:`!sqlite3` module does not adhere to the transaction handling "
"recommended by :pep:`249`." "recommended by :pep:`249`."
msgstr "" msgstr ""
#: library/sqlite3.rst:2345 #: library/sqlite3.rst:2366
msgid "" msgid ""
"If the connection attribute :attr:`~Connection.isolation_level` is not " "If the connection attribute :attr:`~Connection.isolation_level` is not "
"``None``, new transactions are implicitly opened before :meth:`~Cursor." "``None``, new transactions are implicitly opened before :meth:`~Cursor."
@ -2084,7 +2110,7 @@ msgid ""
"attribute." "attribute."
msgstr "" msgstr ""
#: library/sqlite3.rst:2358 #: library/sqlite3.rst:2379
msgid "" msgid ""
"If :attr:`~Connection.isolation_level` is set to ``None``, no transactions " "If :attr:`~Connection.isolation_level` is set to ``None``, no transactions "
"are implicitly opened at all. This leaves the underlying SQLite library in " "are implicitly opened at all. This leaves the underlying SQLite library in "
@ -2094,14 +2120,14 @@ msgid ""
"in_transaction` attribute." "in_transaction` attribute."
msgstr "" msgstr ""
#: library/sqlite3.rst:2366 #: library/sqlite3.rst:2387
msgid "" msgid ""
"The :meth:`~Cursor.executescript` method implicitly commits any pending " "The :meth:`~Cursor.executescript` method implicitly commits any pending "
"transaction before execution of the given SQL script, regardless of the " "transaction before execution of the given SQL script, regardless of the "
"value of :attr:`~Connection.isolation_level`." "value of :attr:`~Connection.isolation_level`."
msgstr "" msgstr ""
#: library/sqlite3.rst:2370 #: library/sqlite3.rst:2391
msgid "" msgid ""
":mod:`!sqlite3` used to implicitly commit an open transaction before DDL " ":mod:`!sqlite3` used to implicitly commit an open transaction before DDL "
"statements. This is no longer the case." "statements. This is no longer the case."

File diff suppressed because it is too large Load Diff