nonlocal

[US]/nɒnˈləʊ.kəl/
[UK]/nɑnˈloʊ.kəl/
Frequency: Very High

Translation

adj.非局部的

Phrases & Collocations

nonlocal variable

非局部变量

nonlocal scope

非局部作用域

nonlocal function

非局部函数

nonlocal access

非局部访问

nonlocal declaration

非局部声明

nonlocal context

非局部上下文

nonlocal reference

非局部引用

nonlocal behavior

非局部行为

nonlocal keyword

非局部关键字

nonlocal data

非局部数据

Example Sentences

in python, the nonlocal keyword allows you to modify variables in an enclosing scope.

在Python中,nonlocal关键字允许你修改封闭作用域中的变量。

the nonlocal variable can be accessed from nested functions.

非局部变量可以从嵌套函数中访问。

using nonlocal helps in maintaining state across function calls.

使用nonlocal有助于在函数调用之间保持状态。

it's important to understand how nonlocal works in closures.

理解nonlocal在闭包中的工作原理是很重要的。

nonlocal variables are not global but exist in an outer function.

非局部变量不是全局的,但存在于外部函数中。

when using nonlocal, be cautious of variable shadowing.

使用nonlocal时,要小心变量遮蔽。

the nonlocal declaration is a powerful feature in python.

nonlocal声明是Python中的一个强大特性。

understanding nonlocal can improve your coding efficiency.

理解nonlocal可以提高你的编码效率。

nonlocal can be a bit tricky for beginners to grasp.

对于初学者来说,nonlocal可能有点难以理解。

many developers appreciate the functionality of nonlocal in their projects.

许多开发者在他们的项目中欣赏nonlocal的功能。

Popular Words

Explore frequently searched vocabulary

Download App to Unlock Full Content

Want to learn vocabulary more efficiently? Download the DictoGo app and enjoy more vocabulary memorization and review features!

Download DictoGo Now