@@ -350,6 +350,10 @@ msgid ""
350350"<sys.stdin>`, :data:`sys.stdout.buffer <sys.stdout>`, and instances of "
351351":class:`io.BytesIO` and :class:`gzip.GzipFile`."
352352msgstr ""
353+ ":term:`file object` 能够读写 :term:`字节类对象 <bytes-like object>`。 二进制文件的例子包括以二进制模式"
354+ " (``'rb'``, ``'wb'`` 或 ``'rb+'``) 打开的文件、:data:`sys.stdin.buffer "
355+ "<sys.stdin>`、:data:`sys.stdout.buffer <sys.stdout>` 以及 :class:`io.BytesIO` 和"
356+ " :class:`gzip.GzipFile` 的实例。"
353357
354358#: ../../glossary.rst:167
355359msgid ""
@@ -645,6 +649,10 @@ msgid ""
645649"basis for many features including functions, methods, properties, class "
646650"methods, static methods, and reference to super classes."
647651msgstr ""
652+ "任何定义了 :meth:`~object.__get__`, :meth:`~object.__set__` 或 "
653+ ":meth:`~object.__delete__` 方法的对象。 当一个类属性为描述器时,它的特殊绑定行为就会在属性查找时被触发。 通常情况下,使用 "
654+ "*a.b* 来获取、设置或删除一个属性时会在 *a* 类的字典中查找名称为 *b* 的对象,但如果 *b* 是一个描述器,则会调用对应的描述器方法。 "
655+ "理解描述器的概念是更深层次理解 Python 的关键,因为这是许多重要特性的基础,包括函数、方法、特征属性、类方法、静态方法以及对超类的引用等等。"
648656
649657#: ../../glossary.rst:327
650658msgid ""
@@ -663,6 +671,8 @@ msgid ""
663671"can be any object with :meth:`~object.__hash__` and :meth:`~object.__eq__` "
664672"methods. Called a hash in Perl."
665673msgstr ""
674+ "一个关联数组,其中的任意键都映射到相应的值。 键可以是任何具有 :meth:`~object.__hash__` 和 "
675+ ":meth:`~object.__eq__` 方法的对象。 在 Perl 中称为 hash。"
666676
667677#: ../../glossary.rst:335
668678msgid "dictionary comprehension"
0 commit comments