An access Specifier declares a level of access to a function or method.
AccessSpecifier声明了访问一个函数或者方法的级别。
The oldest method for calculating code complexity is counting the number of lines in a given function or method.
计算代码复杂度的老方法,一般是统计一个给定的函数或方法中的代码行数目。
Such a descriptor could return something callable — any Python function or method can return anything, after all.
这种描述符可以返回可调用的内容——毕竟Python函数或方法可以返回任何内容。
The most typical examples you will see discussed for decorators can probably be described as making a function or method "do something extra" while it does its basic job.
您将看到,有关decorator的最典型的例子可能是使一个函数或方法来实现“其他功能”,同时完成其基本工作。
Which is true about the following statement, placed outside of any function or method?
对于放在任何方法以外的以下声明,正确的说法是?
To avoid possible undesired side effects, a function or method call is not automatically evaluated every time the debugger steps.
为了避免可能的意外的副作用,不会在调试器每次步进时自动计算函数或方法。
Raised when a function or method is invoked and at least one of the passed arguments does not meet the parameter specification of the called function or method.
在调用函数或方法,且传递的参数中至少有一个不符合被调函数或方法的参数规范时引发。
Raised when a function or method is invoked and at least one of the passed arguments does not meet the parameter specification of the called function or method.
在调用函数或方法,且传递的参数中至少有一个不符合被调函数或方法的参数规范时引发。
应用推荐