File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -659,6 +659,10 @@ msgid ""
659659"`Guido's Tutorial "
660660"<https://www.python.org/download/releases/2.2.3/descrintro/#cooperation>`_."
661661msgstr ""
662+ "完整的 C 实现可以在 :source:`Objects/typeobject.c` 的 :c:func:`super_getattro()` "
663+ "中找到。纯 Python 等价实现可以在 `Guido's Tutorial "
664+ "<https://www.python.org/download/releases/2.2.3/descrintro/#cooperation>`_ "
665+ "中找到。"
662666
663667#: ../../howto/descriptor.rst:752
664668msgid "Summary of invocation logic"
@@ -723,6 +727,8 @@ msgid ""
723727"with two arguments. The *owner* is the class where the descriptor is used, "
724728"and the *name* is the class variable the descriptor was assigned to."
725729msgstr ""
730+ "有时,描述器想知道它分配到的具体类变量名。创建新类时,元类 :class:`type` 将扫描新类的字典。如果有描述器,并且它们定义了 "
731+ ":meth:`__set_name__`,则使用两个参数调用该方法。*owner* 是使用描述器的类,*name* 是分配给描述器的类变量名。"
726732
727733#: ../../howto/descriptor.rst:787
728734msgid ""
You can’t perform that action at this time.
0 commit comments