44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
66# Translators:
7- # Unknownuserfrommars, 2024
87# Rafael Fontenelle <[email protected] >, 20248+ # Unknownuserfrommars, 2024
99#
1010#, fuzzy
1111msgid ""
1212msgstr ""
1313"Project-Id-Version : Python 3.12\n "
1414"Report-Msgid-Bugs-To : \n "
15- "POT-Creation-Date : 2024-06-07 14:48 +0000\n "
15+ "POT-Creation-Date : 2024-06-14 18:58 +0000\n "
1616"PO-Revision-Date : 2024-05-11 00:34+0000\n "
17- "
Last-Translator :
Rafael Fontenelle <[email protected] > , 2024\n"
17+ "Last-Translator : Unknownuserfrommars , 2024\n "
1818"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1919"MIME-Version : 1.0\n "
2020"Content-Type : text/plain; charset=UTF-8\n "
@@ -359,6 +359,9 @@ msgid ""
359359" the ZODB or whatever, but most users will just write code on top of the "
360360"resulting libraries and ignore the implementation details."
361361msgstr ""
362+ "请注意,使用新 :func:`!eiffelmethod` 的人不必了解任何关于描述符的知识。 "
363+ "这就是我认为新功能不会增加语言基本复杂性的原因。会有一些向导需要了解它,以便编写 :func:`!eiffelmethod` 或 ZODB "
364+ "或其他内容,但大多数用户只会在生成的库之上编写代码,而不会理会实现细节。"
362365
363366#: ../../whatsnew/2.2.rst:244
364367msgid "Multiple Inheritance: The Diamond Rule"
@@ -370,6 +373,7 @@ msgid ""
370373"rules under which names are resolved. Consider this set of classes (diagram"
371374" taken from :pep:`253` by Guido van Rossum)::"
372375msgstr ""
376+ "通过改变名称解析规则,多重继承也变得更加有用。 请看下面这组类(图表摘自 :pep:`253` ,作者 Guido van Rossum):"
373377
374378#: ../../whatsnew/2.2.rst:264
375379msgid ""
@@ -381,6 +385,10 @@ msgid ""
381385":class:`!C`'s :meth:`!save` method is saving some internal state specific to"
382386" :class:`!C`, not calling it will result in that state never getting saved."
383387msgstr ""
388+ "经典类的查找规则很简单,但并不高明;基类的查找是深度优先的,从左到右依次查找。 对 :meth:`!D.save` 的引用将搜索类 "
389+ ":class:`!D` 、:class:`!B` ,然后是 :class:`!A` ,其中 :meth:`!save` "
390+ "将被找到并返回。:meth:`!C.save` 根本不会被找到。 这很糟糕,因为如果 :class:`!C` 的 :meth:`!save` "
391+ "方法正在保存 :class:`!C` 特有的某些内部状态,不调用该方法将导致该状态永远不会被保存。"
384392
385393#: ../../whatsnew/2.2.rst:272
386394msgid ""
0 commit comments