@@ -519,7 +519,7 @@ msgstr ""
519519
520520#: ../../howto/descriptor.rst:267
521521msgid "The new class now logs access to both *name* and *age*:"
522- msgstr ""
522+ msgstr "新類別現在記錄對 *name* 和 *age* 的存取: "
523523
524524#: ../../howto/descriptor.rst:275
525525msgid ""
@@ -539,7 +539,7 @@ msgstr ""
539539
540540#: ../../howto/descriptor.rst:284
541541msgid "The two *Person* instances contain only the private names:"
542- msgstr ""
542+ msgstr "兩個 *Person* 實例只包含私有名稱: "
543543
544544#: ../../howto/descriptor.rst:286
545545msgid ""
@@ -1012,7 +1012,7 @@ msgstr ""
10121012
10131013#: ../../howto/descriptor.rst:573
10141014msgid "Invocation from an instance"
1015- msgstr ""
1015+ msgstr "從實例呼叫 "
10161016
10171017#: ../../howto/descriptor.rst:575
10181018msgid ""
@@ -1021,18 +1021,22 @@ msgid ""
10211021"descriptors, then class variables, and lastly :meth:`~object.__getattr__` if "
10221022"it is provided."
10231023msgstr ""
1024+ "實例查找掃描命名空間鏈,給予資料描述器最高優先權,接著是實例變數,然後是非資料描述器,"
1025+ "再來是類別變數,最後如果有提供的話是 :meth:`~object.__getattr__`。"
10241026
10251027#: ../../howto/descriptor.rst:580
10261028msgid ""
10271029"If a descriptor is found for ``a.x``, then it is invoked with: "
10281030"``desc.__get__(a, type(a))``."
10291031msgstr ""
1032+ "如果為 ``a.x`` 找到描述器,則使用 ``desc.__get__(a, type(a))`` 呼叫它。"
10301033
10311034#: ../../howto/descriptor.rst:583
10321035msgid ""
10331036"The logic for a dotted lookup is in :meth:`object.__getattribute__`. Here "
10341037"is a pure Python equivalent:"
10351038msgstr ""
1039+ "點查找的邏輯在 :meth:`object.__getattribute__` 中。這裡是純 Python 等價實作:"
10361040
10371041#: ../../howto/descriptor.rst:586
10381042msgid ""
@@ -1102,7 +1106,7 @@ msgstr ""
11021106
11031107#: ../../howto/descriptor.rst:776
11041108msgid "Invocation from a class"
1105- msgstr ""
1109+ msgstr "從類別呼叫 "
11061110
11071111#: ../../howto/descriptor.rst:778
11081112msgid ""
@@ -1114,7 +1118,7 @@ msgstr ""
11141118
11151119#: ../../howto/descriptor.rst:783
11161120msgid "If a descriptor is found, it is invoked with ``desc.__get__(None, A)``."
1117- msgstr ""
1121+ msgstr "如果找到描述器,則使用 ``desc.__get__(None, A)`` 呼叫它。 "
11181122
11191123#: ../../howto/descriptor.rst:785
11201124msgid ""
0 commit comments