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 319b290 commit ff7ea84Copy full SHA for ff7ea84
1 file changed
reference/expressions.po
@@ -2097,9 +2097,9 @@ msgid ""
2097
"``''``.)"
2098
msgstr ""
2099
"请注意 :keyword:`and` 和 :keyword:`or` 都不限制其返回的值和类型必须为 ``False`` 和 "
2100
-"``True``,而是返回最终求值的参数。 此行为是有必要的,例如假设 ``s`` 为一个当其为空时应被替换为某个默认值的字符串,表达式 ``s or "
2101
-"'foo'`` 将产生希望的值。 由于 :keyword:`not` 必须创建一个新值,不论其参数为何种类型它都会返回一个布尔值(例如,``not "
2102
-"'foo'`` 结果为 ``False`` 而非 ``''``。)"
+"``True``,而是返回最后被求值的操作数。 此行为是有必要的,例如假设 ``s`` 为一个当其为空时应被替换为某个默认值的字符串,表达式 ``s "
+"or 'foo'`` 将产生希望的值。 由于 :keyword:`not` 必须创建一个新值,不论其参数为何种类型它都会返回一个布尔值(例如,``not"
+" 'foo'`` 结果为 ``False`` 而非 ``''``。)"
2103
2104
#: ../../reference/expressions.rst:1686
2105
msgid "Assignment expressions"
0 commit comments