Browsing Chinese (Simplified) translation

Don't show this notice anymore
Before translating, be sure to go through Launchpad Translators instructions and Chinese (Simplified) guidelines.
817 of 47 results
8.
Jump Statement
Jump语句
Translated and reviewed by Hanming Wu
Located in ../../source/label.rst:34
9.
The jump statement is used to transfer control to the given label.
Jump语句用于跳转至指定的label内。
Translated and reviewed by Huang Junjie
Located in ../../source/label.rst:36
10.
If the ``expression`` keyword is present, the expression following it is evaluated, and the string so computed is used as the label name of the statement to jump to. If the ``expression`` keyword is not present, the label name of the statement to jump to must be explicitly given.
如果使用了``expression``关键字,那么会先运行expression后面的语句,并将运行的结果作为一个label的名称,并跳转过去。如果没有使用``expression``关键字那么必须显式地指定将要跳转的标签的名称。
Translated and reviewed by Hanming Wu
Located in ../../source/label.rst:38
11.
Unlike call, jump does not push the next statement onto a stack. As a result, there's no way to return to where you've jumped from. ::
不同于call,jump不能将下个语句推至堆栈上。因此,您是没有办法返回jump出的地方的。
Translated and reviewed by Huang Junjie
Located in ../../source/label.rst:43
12.
Call Statement
Call语句
Translated and reviewed by Hanming Wu
Located in ../../source/label.rst:55
13.
The call statement is used to transfer control to the given label. It also pushes the next statement onto the call stack, allowing the return statement to return control to the statement following the call.
Call语句用于转换至指定的label。同时,它会将下个语句推至call堆栈上,使得您可以使用return语句返回到之前call语句的下一个语句上。
Translated and reviewed by Huang Junjie
Located in ../../source/label.rst:57
14.
If the ``expression`` keyword is present, the expression following it is evaluated, and the string so computed is used as the name of the label to call. If the ``expression`` keyword is not present, the name of the statement to call must be explicitly given.
如果``expression``关键词存在,它将会分析其接续的表达式及字串,作为需要call的label中的数据进行运算并给出结果。如果``expression``关键词不存在,那么需要call的语句名称必须要清楚明白地给出。
Translated and reviewed by Huang Junjie
Located in ../../source/label.rst:61
15.
If the optional from clause is present, it has the effect of including a label statement with the given name as the statement immediately following the call statement. An explicit label helps to ensure that saved games with return stacks can return to the proper place when loaded on a changed script. ::
如果可选的from子句存在,则能够将指定的label语句包含至call语句之后。一个清楚明白的label名称可确保在保存时包含return堆栈,并在下次加载修改过的脚本时能返回正确的位置。
Translated and reviewed by Huang Junjie
Located in ../../source/label.rst:66
16.
The call statement may take arguments, which are processed as described in PEP 3102.
Call语句可以有参数,具体可以参考PEP 3102。
Translated and reviewed by Hanming Wu
Located in ../../source/label.rst:88
17.
When using a call expression with an arguments list, the ``pass`` keyword must be inserted between the expression and the arguments list. Otherwise, the arguments list will be parsed as part of the expression, not as part of the call.
当在call语句中同时使用表达式和参数列时,必须将``pass``关键字放在表达式和参数列之间,否则会把参数列表做为表达式的一部分进行解析,而不是call语句的一部分。
Translated and reviewed by Huang Junjie
Located in ../../source/label.rst:91
817 of 47 results

This translation is managed by Launchpad Simplified Chinese Translators, assigned by Launchpad Translators.

You are not logged in. Please log in to work on translations.

Contributors to this translation: Hanming Wu, Huang Junjie.