@@ -148,7 +148,7 @@ msgstr "https://www.w3schools.com/sql/"
148148
149149#: ../../library/sqlite3.rst:111
150150msgid "Tutorial, reference and examples for learning SQL syntax."
151- msgstr "学习 SQL 语法的教程, 参考和例子。"
151+ msgstr "学习 SQL 语法的教程、 参考和例子。"
152152
153153#: ../../library/sqlite3.rst:113
154154msgid ":pep:`249` - Database API Specification 2.0"
@@ -355,6 +355,8 @@ msgid ""
355355"parameter the Python value, and must return a value of the following types: "
356356"int, float, str or bytes."
357357msgstr ""
358+ "注册一个回调对象 *callable*,用来转换自定义Python类型为一个 SQLite 支持的类型。 这个回调对象 *callable* 仅接受一个"
359+ " Python 值作为参数,而且必须返回以下某个类型的值:int,float,str 或 bytes。"
358360
359361#: ../../library/sqlite3.rst:253
360362msgid ""
@@ -363,11 +365,13 @@ msgid ""
363365"syntactically correct, only that there are no unclosed string literals and "
364366"the statement is terminated by a semicolon."
365367msgstr ""
368+ "如果字符串 *sql* 包含一个或多个完整的 SQL 语句(以分号结束)则返回 :const:`True`。它不会验证 SQL "
369+ "语法是否正确,仅会验证字符串字面上是否完整,以及是否以分号结束。"
366370
367371#: ../../library/sqlite3.rst:258
368372msgid ""
369373"This can be used to build a shell for SQLite, as in the following example:"
370- msgstr ""
374+ msgstr "它可以用来构建一个 SQLite shell,下面是一个例子: "
371375
372376#: ../../library/sqlite3.rst:266
373377msgid ""
0 commit comments