• You can do this because function objects can be assigned to variables, just like any other value.

    能够这样做是因为,与其他值一样,function对象可以赋值给变量。

    youdao

  • Because passing function objects in Python is so easy, this class USES far fewer lines than any similar class in another language would require.

    因为使用Python传递函数对象是如此简单,与其它语言中的相似类比较,这个类所需使用行数非常少。

    youdao

  • The header file defines function objects and function adapters.

    头文件定义了函数对象和函数适配器。

    youdao

  • However, this presents problems when the library allows arbitrary function objects to implicitly become slots, because slots are no longer comparable.

    然而,当库允许任意的函数对象隐式地变成插槽时,这里出现了问题,因为插槽不再具有比较性。

    youdao

  • This program contains two function definitions: print_lyrics and repeat_lyrics. Function definitions get executed just like other statements, but the effect is to create function objects.

    这个程序包含两个函数的定义:print_lyrics以及repeat_lyrics,函数定义的执行就和其他语句一样,但是效果是创建函数对象。

    youdao

  • This program contains two function definitions: print_lyrics and repeat_lyrics. Function definitions get executed just like other statements, but the effect is to create function objects.

    这个程序包含两个函数的定义:print_lyrics以及repeat_lyrics,函数定义的执行就和其他语句一样,但是效果是创建函数对象。

    youdao

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

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

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