File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -563,18 +563,20 @@ msgid ""
563563"descriptors, then class variables, and lastly :meth:`__getattr__` if it is "
564564"provided."
565565msgstr ""
566+ "实例查找通过命名空间链进行扫描,数据描述器的优先级最高,其次是实例变量、非数据描述器、类变量,最后是 :meth:`__getattr__` "
567+ "(如果存在的话)。"
566568
567569#: ../../howto/descriptor.rst:575
568570msgid ""
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
574576msgid ""
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
580582msgid ""
You can’t perform that action at this time.
0 commit comments