这样,当转换执行的时候,将在源代码中为选定的参数生成带有常量修饰符的函数签名。
This will generate a function signature in the source code with the const qualifier for the selected parameter, once the transformation is executed.
default 这个特殊方法使用 @cherrypy.expose 修饰符标记为 CherryPy 处理程序函数。
The special method default is marked as a CherryPy handler function by the @cherrypy.expose decorator.
在一种情况下,nose 不考虑 setup 和 teardown 函数的名称:使用 @with_setup 修饰符为某一函数显式地指定它们。
There is one case in which nose does not care about the name of setup and teardown functions: when you specify them explicitly for a particular function using the @with_setup decorator.
应用推荐