Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ec238a commit d5055c9Copy full SHA for d5055c9
2 files changed
.stat.json
@@ -1 +1 @@
1
-{"translation": "95.01%", "updated_at": "2024-04-20T10:57:12Z"}
+{"translation": "95.01%", "updated_at": "2024-04-20T13:56:27Z"}
reference/datamodel.po
@@ -1246,6 +1246,11 @@ msgid ""
1246
"common ancestor. Additional details on the C3 MRO used by Python can be "
1247
"found at :ref:`python_2.3_mro`."
1248
msgstr ""
1249
+"自定义类这种类型一般是通过类定义来创建 (参见 :ref:`class` 一节)。 每个类都有一个通过字典对象实现的命名空间。 "
1250
+"类属性引用会被转化为在此字典中查找,例如,``C.x`` 会被转化为 ``C.__dict__[\"x\"]`` "
1251
+"(不过也存在一些钩子对象允许其他定位属性的方式)。 当未在其中找到某个属性名称时,会继续在基类中查找。这种基类搜索使用 C3 方法解析顺序,即使存在 "
1252
+"'钻石形' 继承结构既有多条继承路径连到一个共同祖先也能保持正确的行为。 有关 Python 使用的 C3 MRO 的详情可在 "
1253
+":ref:`python_2.3_mro` 查看。"
1254
1255
#: ../../reference/datamodel.rst:947
1256
msgid ""
0 commit comments