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 fff51e6 commit 409a310Copy full SHA for 409a310
1 file changed
reference/datamodel.po
@@ -2755,6 +2755,9 @@ msgid ""
2755
":exc:`DeprecationWarning` in Python 3.6, and a :exc:`RuntimeError` in Python"
2756
" 3.8."
2757
msgstr ""
2758
+"在 CPython 3.6 及之后的版本中,``__class__`` 单元会被作为类命名空间中的 ``__classcell__`` "
2759
+"一项传递给元类。如果存在,这必须被向上传播给 ``type.__new__`` 调用,以便能正确地初始化该类。如果不这样做,在 Python 3.6 "
2760
+"中将导致 :exc:`DeprecationWarning`,而在 Python 3.8 中将引发 :exc:`RuntimeError`。"
2761
2762
#: ../../reference/datamodel.rst:1976
2763
msgid ""
0 commit comments