• 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.

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

    youdao

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

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

    youdao

  • As both decorators apply to the same set of workbench resources, the xml-only decorator can borrow the method from the coded decorator as we'll see shortly.

    由于两种decorator应用同一工作台资源,所以纯x ml的decorator可以编码的decorator那里借用方法我们接下来马上要介绍的。

    youdao

  • 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的典型例子可能使一个函数方法来实现“其他功能”,同时完成基本工作。

    youdao

  • 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的典型例子可能使一个函数方法来实现“其他功能”,同时完成基本工作。

    youdao

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

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

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