go top

nest scope

  • 嵌套作用域

网络释义

  嵌套作用域

嵌套作用域Nested Scopes)是在Python 2.1版引入的,它改变了Python的LGB(Local, Global, Build-In)的规则(当然是有限的)。

基于6个网页-相关网页

短语

Nested scopes- 嵌套范围

双语例句

  • The reason is that, as mentioned earlier, Scheme will rename pi and e so they don't conflict with other names in enclosing or nested scopes.

    原因在于 Scheme pi e 进行重命名使它们不会包含嵌入宏的范围中的其他名称冲突

    youdao

  • An identifier may be defined once in a scope, but can be redefined in nested scopes. The following example will explain some of these points.

    标识可以个作用域中定义一次可以嵌套作用域中重新定义

    youdao

  • A local variable is one that is only available for use (that is, you can assign to it, or fetch its value) within the scope in which it is declared, and within nested scopes as well.

    本地变量可以声明范围中和嵌套范围使用的变量(也就是说可以,也可以从中取值)。

    youdao

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

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

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