• 为了此类情景易于懂,也为了避免必须多次重用相同方法Python版本2.4中引入方法修饰符

    To make situations like this more readable and to avoid having to reuse the same method name multiple times, method decorators were introduced in Python version 2.4.

    youdao

  • 标注作为修饰符可以添加接口方法字段声明中

    Annotations serve as modifiers that can be added to packages, classes, interfaces, methods, or field declarations.

    youdao

  • 可以看出一步去掉private修饰符def替换方法声明public一样的。

    So as you can see, my first step would be to drop the private modifier and replace it with def, which is the same as declaring the method as public.

    youdao

  • default这个特殊方法使用 @cherrypy.expose 修饰符标记为 CherryPy处理程序函数

    The special method default is marked as a CherryPy handler function by the @cherrypy.expose decorator.

    youdao

  • 注释可以添加代码中的修饰符,可以用于声明类型声明、构造函数方法字段参数变量

    Annotations are modifiers you can add to your code and apply to package declarations, type declarations, constructors, methods, fields, parameters, and variables.

    youdao

  • 修饰符一种常见用法注释静态方法

    A common use for decorators is to annotate static methods.

    youdao

  • 修饰符是一些方法这些方法可以修改其他方法返回方法另外一个可调用对象

    Decorators are methods that modify other methods and return either a method or another callable object.

    youdao

  • 如果需要方法设置sealed修饰符那么选择(启用)方法leaf属性

    If you need to set the sealed modifier on the method, select (enable) the Leaf property of the operation.

    youdao

  • 示例中的切入点使用修饰(modifier)通配(wildcard)模式表达所有公共方法”。

    The pointcut in the example uses a modifier and wildcard pattern to express "all public methods."

    youdao

  • 使用修饰调用任何方法都将使用小写

    Any method called with this decorator USES only lowercase strings.

    youdao

  • 如果方法的前缀使用 @abstractmethod修饰符(decorator),那么此方法就是一个抽象方法

    A method is abstract if it's preceded with the decorator @abstractmethod.

    youdao

  • 方法返回类型修饰可以相同不同

    Of the method it is OK to return type, got-up accord with identical, also can differ.

    youdao

  • 运行时允许在方法重载隐藏绑定中使用这些修饰符不会强制任何语言特定语义

    The runtime will honor these modifiers for method overloading and hiding as well as for binding, but will not enforce any language-specific semantics.

    youdao

  • 返回具有指定名称绑定信息调用约定参数类型修饰符方法

    Returns a method having the specified name, binding information, calling convention, and parameter types and modifiers.

    youdao

  • 为什么不能指定接口方法修饰

    Why can't you specify the accessibility modifier for methods inside the interface?

    youdao

  • Modifier提供了静态方法常量类和成员访问修饰符进行编码。

    The Modifier class provides static methods and constants to decode class and member access modifiers.

    youdao

  • 继承修饰符控制派生方法属性如何重写中的方法和属性。

    Inheritance modifiers control how methods and properties from derived classes override methods and properties in a base class.

    youdao

  • 派生中的方法重写基类方法而且两种方法可见性修饰符不同的。

    A method in a derived class overrides a base-class method, and the visibility modifiers of the two methods are different.

    youdao

  • 抽象中可以方法的实现,可以指定方法的访问修饰符

    When the class itself is inherited from an abstract class, but not all base abstract methods have been over-ridden.

    youdao

  • 派生方法可见修饰进行修改使其与方法的可见性相匹配。

    Change the visibility modifier of the derived-class method to match the visibility of the base class method.

    youdao

  • 派生方法可见修饰进行修改使其与方法的可见性相匹配。

    Change the visibility modifier of the derived-class method to match the visibility of the base class method.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定