10101111121213- # Freesand Leo <[email protected] >, 2020 13+ # Freesand Leo <[email protected] >, 2022 1414#
1515#, fuzzy
1616msgid ""
@@ -19,7 +19,7 @@ msgstr ""
1919"Report-Msgid-Bugs-To : \n "
2020"POT-Creation-Date : 2021-01-01 16:02+0000\n "
2121"PO-Revision-Date : 2019-09-01 03:43+0000\n "
22- "
Last-Translator :
Freesand Leo <[email protected] >, 2020 \n "
22+ "
Last-Translator :
Freesand Leo <[email protected] >, 2022 \n "
2323"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2424"MIME-Version : 1.0\n "
2525"Content-Type : text/plain; charset=UTF-8\n "
@@ -2036,9 +2036,9 @@ msgid ""
20362036"``''``.)"
20372037msgstr ""
20382038"请注意 :keyword:`and` 和 :keyword:`or` 都不限制其返回的值和类型必须为 ``False`` 和 "
2039- "``True``,而是返回最终求值的参数 。 此行为是有必要的,例如假设 ``s`` 为一个当其为空时应被替换为某个默认值的字符串,表达式 ``s or "
2040- "'foo'`` 将产生希望的值。 由于 :keyword:`not` 必须创建一个新值,不论其参数为何种类型它都会返回一个布尔值(例如,``not "
2041- "'foo'`` 结果为 ``False`` 而非 ``''``。)"
2039+ "``True``,而是返回最后被求值的操作数 。 此行为是有必要的,例如假设 ``s`` 为一个当其为空时应被替换为某个默认值的字符串,表达式 ``s "
2040+ "or 'foo'`` 将产生希望的值。 由于 :keyword:`not` 必须创建一个新值,不论其参数为何种类型它都会返回一个布尔值(例如,``not"
2041+ " 'foo'`` 结果为 ``False`` 而非 ``''``。)"
20422042
20432043#: ../../reference/expressions.rst:1660
20442044msgid "Conditional expressions"
0 commit comments