88# Zombie110year <[email protected] >, 202199# walkinrain <[email protected] >, 20211010# ppcfish <[email protected] >, 202111- # Freesand Leo <[email protected] >, 2023 11+ # Freesand Leo <[email protected] >, 2024 1212#
1313#, fuzzy
1414msgid ""
@@ -17,7 +17,7 @@ msgstr ""
1717"Report-Msgid-Bugs-To : \n "
1818"POT-Creation-Date : 2024-01-26 14:13+0000\n "
1919"PO-Revision-Date : 2021-06-28 01:04+0000\n "
20- "
Last-Translator :
Freesand Leo <[email protected] >, 2023 \n "
20+ "
Last-Translator :
Freesand Leo <[email protected] >, 2024 \n "
2121"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2222"MIME-Version : 1.0\n "
2323"Content-Type : text/plain; charset=UTF-8\n "
@@ -65,27 +65,27 @@ msgstr ""
6565
6666#: ../../library/dbm.rst:31
6767msgid "Return one of the following values:"
68- msgstr ""
68+ msgstr "返回下列值中的一个: "
6969
7070#: ../../library/dbm.rst:33
7171msgid ""
7272"``None`` if the file can't be opened because it's unreadable or doesn't "
7373"exist"
74- msgstr ""
74+ msgstr "如果文件因其不可读或不存在而无法打开则返回 ``None`` "
7575
7676#: ../../library/dbm.rst:34
7777msgid "the empty string (``''``) if the file's format can't be guessed"
78- msgstr ""
78+ msgstr "如果文件格式无法猜测则返回空字符串 (``''``) "
7979
8080#: ../../library/dbm.rst:35
8181msgid ""
8282"a string containing the required module name, such as ``'dbm.ndbm'`` or "
8383"``'dbm.gnu'``"
84- msgstr ""
84+ msgstr "包含所需模块名称的字符串,如 ``'dbm.ndbm'`` 或 ``'dbm.gnu'`` "
8585
8686#: ../../library/dbm.rst:37
8787msgid "*filename* accepts a :term:`path-like object`."
88- msgstr ""
88+ msgstr "*filename* 接受一个 :term:`path-like object`。 "
8989
9090#: ../../library/dbm.rst:61
9191msgid "Open the database file *file* and return a corresponding object."
@@ -114,27 +114,27 @@ msgstr "含意"
114114
115115#: ../../library/dbm.rst:1
116116msgid "``'r'`` (default)"
117- msgstr ""
117+ msgstr "``'r'`` (默认) "
118118
119119#: ../../library/dbm.rst:1
120120msgid "|flag_r|"
121- msgstr ""
121+ msgstr "|flag_r| "
122122
123123#: ../../library/dbm.rst:1
124124msgid "``'w'``"
125125msgstr "``'w'``"
126126
127127#: ../../library/dbm.rst:1
128128msgid "|flag_w|"
129- msgstr ""
129+ msgstr "|flag_w| "
130130
131131#: ../../library/dbm.rst:1
132132msgid "``'c'``"
133133msgstr "``'c'``"
134134
135135#: ../../library/dbm.rst:1
136136msgid "|flag_c|"
137- msgstr ""
137+ msgstr "|flag_c| "
138138
139139#: ../../library/dbm.rst:1
140140msgid "``'n'``"
@@ -156,7 +156,7 @@ msgstr ""
156156
157157#: ../../library/dbm.rst:81
158158msgid "*file* accepts a :term:`path-like object`."
159- msgstr ""
159+ msgstr "*file* 接受一个 :term:`path-like object`。 "
160160
161161#: ../../library/dbm.rst:85
162162msgid ""
@@ -165,12 +165,15 @@ msgid ""
165165"retrieved, and deleted, and the :keyword:`in` operator and the :meth:`!keys`"
166166" method are available, as well as :meth:`!get` and :meth:`!setdefault`."
167167msgstr ""
168+ "The object returned by :func:`open` 所返回的对象支持与 :class:`dict` "
169+ "相同的基本功能;可以存储、获取和删除键及其对应的值,并可使用 :keyword:`in` 运算符和 :meth:`!keys` 方法,以及 "
170+ ":meth:`!get` 和 :meth:`!setdefault`。"
168171
169172#: ../../library/dbm.rst:90
170173msgid ""
171174":meth:`!get` and :meth:`!setdefault` are now available in all database "
172175"modules."
173- msgstr ""
176+ msgstr "现在 :meth:`!get` 和 :meth:`!setdefault` 在所有数据库模块中均可用。 "
174177
175178#: ../../library/dbm.rst:93
176179msgid ""
@@ -183,7 +186,7 @@ msgid ""
183186"Key and values are always stored as :class:`bytes`. This means that when "
184187"strings are used they are implicitly converted to the default encoding "
185188"before being stored."
186- msgstr ""
189+ msgstr "键和值总是被存储为 :class:`bytes`。 这意味着当使用字符串时它们会在被存储之前隐式地转换至默认编码格式。 "
187190
188191#: ../../library/dbm.rst:101
189192msgid ""
0 commit comments