@@ -430,6 +430,10 @@ msgid ""
430430":const:`~sqlite3.LEGACY_TRANSACTION_CONTROL`. The default will change to "
431431"``False`` in a future Python release."
432432msgstr ""
433+ "控制 :pep:`249` 事务处理行为。 更多信息参见 :attr:`Connection.autocommit` 和 "
434+ ":ref:`sqlite3-transaction-control-autocommit`。 *autocommit* 目前默认值为 "
435+ ":const:`~sqlite3.LEGACY_TRANSACTION_CONTROL`。 在未来的 Python 版本中默认值将变为 "
436+ "``False``。"
433437
434438#: ../../library/sqlite3.rst:0 ../../library/sqlite3.rst:0
435439#: ../../library/sqlite3.rst:0 ../../library/sqlite3.rst:0
@@ -498,7 +502,7 @@ msgstr ""
498502msgid ""
499503"See :func:`!runsource` in :source:`Lib/sqlite3/__main__.py` for real-world "
500504"use."
501- msgstr ""
505+ msgstr "请参阅 :source:`Lib/sqlite3/__main__.py` 中的 :func:`!runsource` 了解实际使用情况。 "
502506
503507#: ../../library/sqlite3.rst:384
504508msgid ""
@@ -527,6 +531,9 @@ msgid ""
527531" its sole argument, and must return a value of a :ref:`type that SQLite "
528532"natively understands <sqlite3-types>`."
529533msgstr ""
534+ "注册 *adapter* :term:`callable` 以将 Python 类型 *type* 适配为一个 SQLite 类型。 "
535+ "该适配器在调用时会传入一个 *type* 类型的 Python 对象作为其唯一参数,并且必须返回一个 :ref:`SQLite 原生支持的类型 "
536+ "<sqlite3-types>` 的值。"
530537
531538#: ../../library/sqlite3.rst:425
532539msgid ""
@@ -537,6 +544,10 @@ msgid ""
537544"parameter *detect_types* of :func:`connect` for information regarding how "
538545"type detection works."
539546msgstr ""
547+ "注册 *converter* :term:`callable` 以将 *typename* 类型的 SQLite 对象转换为一个特定类型的 Python"
548+ " 对象。转换器会针对所有类型为 *typename* 的 SQLite 值发起调用;它会传递一个 :class:`bytes` "
549+ "对象并且应该返回一个所需的 Python 类型的对象。 请参阅 :func:`connect` 的 *detect_types* "
550+ "形参了解有关类型检测工作方式的详情。"
540551
541552#: ../../library/sqlite3.rst:433
542553msgid ""
0 commit comments