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

Skip to content

Commit 67f732d

Browse files
[po] auto sync
1 parent 5cc1cf5 commit 67f732d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

howto/descriptor.po

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,18 +563,20 @@ msgid ""
563563
"descriptors, then class variables, and lastly :meth:`__getattr__` if it is "
564564
"provided."
565565
msgstr ""
566+
"实例查找通过命名空间链进行扫描,数据描述器的优先级最高,其次是实例变量、非数据描述器、类变量,最后是 :meth:`__getattr__` "
567+
"(如果存在的话)。"
566568

567569
#: ../../howto/descriptor.rst:575
568570
msgid ""
569571
"If a descriptor is found for ``a.x``, then it is invoked with: "
570572
"``desc.__get__(a, type(a))``."
571-
msgstr ""
573+
msgstr "如果 ``a.x`` 找到了一个描述器,那么将通过 ``desc.__get__(a, type(a))`` 调用它。"
572574

573575
#: ../../howto/descriptor.rst:578
574576
msgid ""
575577
"The logic for a dotted lookup is in :meth:`object.__getattribute__`. Here "
576578
"is a pure Python equivalent:"
577-
msgstr ""
579+
msgstr "点运算符的查找逻辑在 :meth:`object.__getattribute__` 中。这里是一个等价的纯 Python 实现:"
578580

579581
#: ../../howto/descriptor.rst:698
580582
msgid ""

0 commit comments

Comments
 (0)