Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3f8a52d

Browse files
[po] auto sync
1 parent 0884a6c commit 3f8a52d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

howto/descriptor.po

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,10 @@ msgid ""
659659
"`Guido's Tutorial "
660660
"<https://www.python.org/download/releases/2.2.3/descrintro/#cooperation>`_."
661661
msgstr ""
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
664668
msgid "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."
725729
msgstr ""
730+
"有时,描述器想知道它分配到的具体类变量名。创建新类时,元类 :class:`type` 将扫描新类的字典。如果有描述器,并且它们定义了 "
731+
":meth:`__set_name__`,则使用两个参数调用该方法。*owner* 是使用描述器的类,*name* 是分配给描述器的类变量名。"
726732

727733
#: ../../howto/descriptor.rst:787
728734
msgid ""

0 commit comments

Comments
 (0)