File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1303,16 +1303,19 @@ msgid ""
13031303"compiled with future division enabled; bits ``0x10`` and ``0x1000`` were "
13041304"used in earlier versions of Python."
13051305msgstr ""
1306+ "未来特性声明 (``from __future__ import division``) 也使用 :attr:`co_flags` "
1307+ "中的标志位来指明代码对象的编译是否启用特定的特性: 如果函数编译时启用未来除法特性则设置 ``0x2000`` 位; 在更早的 Python "
1308+ "版本中则使用 ``0x10`` 和 ``0x1000`` 位。"
13061309
13071310#: ../../reference/datamodel.rst:940
13081311msgid "Other bits in :attr:`co_flags` are reserved for internal use."
1309- msgstr ""
1312+ msgstr ":attr:`co_flags` 中的其他位被保留为内部使用。 "
13101313
13111314#: ../../reference/datamodel.rst:944
13121315msgid ""
13131316"If a code object represents a function, the first item in :attr:`co_consts` "
13141317"is the documentation string of the function, or ``None`` if undefined."
1315- msgstr ""
1318+ msgstr "如果代码对象表示一个函数,:attr:`co_consts` 中的第一项将是函数的文档字符串,如果未定义则为 ``None``。 "
13161319
13171320#: ../../reference/datamodel.rst:1004
13181321msgid "Frame objects"
You can’t perform that action at this time.
0 commit comments