@@ -12,7 +12,7 @@ msgid ""
1212msgstr ""
1313"Project-Id-Version : Python 3.11\n "
1414"Report-Msgid-Bugs-To : \n "
15- "POT-Creation-Date : 2024-01-19 16:40 +0000\n "
15+ "POT-Creation-Date : 2024-02-02 18:15 +0000\n "
1616"PO-Revision-Date : 2023-05-24 02:11+0000\n "
1717"
Last-Translator :
Rafael Fontenelle <[email protected] >, 2024\n "
1818"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -342,7 +342,7 @@ msgid ""
342342"<sys.stdin>`, :data:`sys.stdout.buffer <sys.stdout>`, and instances of "
343343":class:`io.BytesIO` and :class:`gzip.GzipFile`."
344344msgstr ""
345- ":term:`file object` 能够读写 :term:`字节类对象 <bytes-like object>`。 二进制文件的例子包括以二进制模式"
345+ ":term:`file object` 能够读写 :term:`字节型对象 <bytes-like object>`。 二进制文件的例子包括以二进制模式"
346346" (``'rb'``, ``'wb'`` 或 ``'rb+'``) 打开的文件、:data:`sys.stdin.buffer "
347347"<sys.stdin>`、:data:`sys.stdout.buffer <sys.stdout>` 以及 :class:`io.BytesIO` 和"
348348" :class:`gzip.GzipFile` 的实例。"
@@ -381,7 +381,7 @@ msgstr ""
381381
382382#: ../../glossary.rst:182
383383msgid "bytes-like object"
384- msgstr "bytes-like object -- 字节类对象 "
384+ msgstr "bytes-like object -- 字节型对象 "
385385
386386#: ../../glossary.rst:184
387387msgid ""
@@ -394,7 +394,7 @@ msgid ""
394394msgstr ""
395395"支持 :ref:`bufferobjects` 并且能导出 C-:term:`contiguous` 缓冲的对象。这包括所有 "
396396":class:`bytes`、:class:`bytearray` 和 :class:`array.array` 对象,以及许多普通 "
397- ":class:`memoryview` 对象。字节类对象可在多种二进制数据操作中使用 ;这些操作包括压缩、保存为二进制文件以及通过套接字发送等。"
397+ ":class:`memoryview` 对象。 字节型对象可在多种二进制数据操作中使用 ;这些操作包括压缩、保存为二进制文件以及通过套接字发送等。"
398398
399399#: ../../glossary.rst:191
400400msgid ""
@@ -804,7 +804,7 @@ msgid ""
804804msgstr ""
805805"对外公开面向文件的 API(带有 :meth:`!read` 或 :meth:`!write` 等方法)以使用下层资源的对象。 "
806806"根据其创建方式的不同,文件对象可以处理对真实磁盘文件、其他类型的存储或通信设备的访问(例如标准输入/输出、内存缓冲区、套接字、管道等)。 "
807- "文件对象也被称为 :dfn:`文件类对象 ` 或 :dfn:`流`。"
807+ "文件对象也被称为 :dfn:`文件型对象 ` 或 :dfn:`流`。"
808808
809809#: ../../glossary.rst:404
810810msgid ""
@@ -815,12 +815,12 @@ msgid ""
815815"function."
816816msgstr ""
817817"实际上共有三种类别的文件对象: 原始 :term:`二进制文件 <binary file>`, 缓冲 :term:`二进制文件 <binary "
818- "file>` 以及 :term:`文本文件 <text file>`。它们的接口定义均在 :mod:`io` 模块中。创建文件对象的规范方式是使用 "
818+ "file>` 以及 :term:`文本文件 <text file>`。它们的接口定义均在 :mod:`io` 模块中。 创建文件对象的规范方式是使用 "
819819":func:`open` 函数。"
820820
821821#: ../../glossary.rst:409
822822msgid "file-like object"
823- msgstr "file-like object -- 文件类对象 "
823+ msgstr "file-like object -- 文件型对象 "
824824
825825#: ../../glossary.rst:411
826826msgid "A synonym for :term:`file object`."
@@ -986,7 +986,7 @@ msgstr ""
986986"释放不再被使用的内存空间的过程。Python 是通过引用计数和一个能够检测和打破循环引用的循环垃圾回收器来执行垃圾回收的。可以使用 :mod:`gc` "
987987"模块来控制垃圾回收器。"
988988
989- #: ../../glossary.rst:493 ../../glossary.rst:492
989+ #: ../../glossary.rst:492 ../../glossary.rst:493
990990msgid "generator"
991991msgstr "generator -- 生成器"
992992
@@ -1025,7 +1025,7 @@ msgstr ""
10251025"每个 :keyword:`yield` 会临时暂停处理,记住当前位置执行状态(包括局部变量和挂起的 try 语句)。当该 *生成器迭代器* "
10261026"恢复时,它会从离开位置继续执行(这与每次调用都从新开始的普通函数差别很大)。"
10271027
1028- #: ../../glossary.rst:514 ../../glossary.rst:513
1028+ #: ../../glossary.rst:513 ../../glossary.rst:514
10291029msgid "generator expression"
10301030msgstr "generator expression -- 生成器表达式"
10311031
@@ -1591,7 +1591,7 @@ msgstr ""
15911591msgid "More information can be found in :ref:`metaclasses`."
15921592msgstr "更多详情参见 :ref:`metaclasses`。"
15931593
1594- #: ../../glossary.rst:793 ../../glossary.rst:761 ../../glossary.rst:1126
1594+ #: ../../glossary.rst:761 ../../glossary.rst:793 ../../glossary.rst:1126
15951595msgid "method"
15961596msgstr "method -- 方法"
15971597
@@ -2295,7 +2295,7 @@ msgstr ""
22952295msgid ""
22962296"Serializing a string into a sequence of bytes is known as \" encoding\" , and "
22972297"recreating the string from the sequence of bytes is known as \" decoding\" ."
2298- msgstr "将一个字符串序列化为一个字节序列被称为 \" 编码 \" ,而从字节序列中重新创建字符串被称为 \" 解码 \" 。"
2298+ msgstr "将一个字符串序列化为一个字节序列被称为“编码” ,而从字节序列中重新创建字符串被称为“解码” 。"
22992299
23002300#: ../../glossary.rst:1165
23012301msgid ""
@@ -2325,7 +2325,7 @@ msgid ""
23252325"See also :term:`binary file` for a file object able to read and write "
23262326":term:`bytes-like objects <bytes-like object>`."
23272327msgstr ""
2328- "另请参看 :term:`binary file` 了解能够读写 :term:`字节类对象 <bytes-like object>` 的文件对象。"
2328+ "另请参看 :term:`binary file` 了解能够读写 :term:`字节型对象 <bytes-like object>` 的文件对象。"
23292329
23302330#: ../../glossary.rst:1179
23312331msgid "triple-quoted string"
@@ -2437,7 +2437,7 @@ msgstr "在标注变量或类属性时,还可选择为其赋值::"
24372437msgid ""
24382438"Variable annotations are usually used for :term:`type hints <type hint>`: "
24392439"for example this variable is expected to take :class:`int` values::"
2440- msgstr "变量标注通常被用作 :term:`类型注解 <type hint>`:例如以下变量预期接受 :class:`int` 类型的值::"
2440+ msgstr "变量标注通常被用作 :term:`类型提示 <type hint>`:例如以下变量预期接受 :class:`int` 类型的值::"
24412441
24422442#: ../../glossary.rst:1249
24432443msgid "Variable annotation syntax is explained in section :ref:`annassign`."
0 commit comments