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