The var statements should be the first statements in the function body.
将var语句放在函数的首部。
By default, the actions in a function body are only performed on a final parse.
默认情况下,函数体中的动作只作用于最终解析。
A generator is a function that remembers the point in the function body where it last returned.
生成器是这样一个函数,它记住上一次返回时在函数体中的位置。
For several versions, we have had generators defined with the yield statement in a function body.
有几个版本中已出现了在函数体中用yield语句定义的生成器。
An internal function is a standard function where the function body follows the function declaration.
内部函数是函数体紧跟函数声明之后的标准函数。
Add the left brace that marks the beginning of the function body.
添加标记函数体开头的左大括号。
The function definition does not execute the function body; this gets executed only when the function is called.
函数定义不执行函数体,它们仅仅在调用时执行。
Of course, you could use constants directly in the function body instead of parameters if you don't need the additional flexibility.
当然,如果您不需要更多的灵活性,那么可以在函数主体中直接使用常量,而不是参数。
Typically this exception is thrown from the function body of an abstract method declaration or from an interface method declaration.
通常从抽象方法声明的函数体或接口方法声明中引发此异常。
The function body is almost identical to the statements shown in " Discover Python, Part 6" (the previous times table went from 1 to 10).
函数体几乎与 “DiscoverPython,Part6”中的语句完全相同(但该文章中的乘法表为从1到 10)。
The left brace that marks the beginning of the function body, class member block, interface member block, or enumeration block is missing.
缺少标记函数体、类成员块、接口成员块或枚举块的开头的左大括号。
The first statement of the function body can optionally be a string literal; this string literal is the function's documentation string, or docstring.
函数体的第一行可以是一个字符串值,这个字符串是该函数的(文档字符串(documentationstring)) ,也可称作docstring 。
A function definition specifies four elements: the return type, the function name, a (possibly empty) parameter list enclosed in parentheses, and the function body.
定义函数必须指定4个元素:返回类型、函数名、圆括号内的形参表(可能为空)和函数体。
Unfortunately, once you start writing general predicates describing the values you would like to handle within a particular function body, it becomes easy to create ambiguous conditions.
不幸的是,一旦您开始编写通用的断言来描述自己希望在某个特定的函数体中处理的值时,就很容易创建一些模糊的条件。
Unfortunately, once you start writing general predicates describing the values you would like to handle within a particular function body, it becomes easy to create ambiguous conditions.
不幸的是,一旦您开始编写通用的断言来描述自己希望在某个特定的函数体中处理的值时,就很容易创建一些模糊的条件。
应用推荐