Name resolving order

Report a typo

Put the scopes in the order that Python resolves the names starting from the first scope to check.

Put the items in the correct order
Global
Local
Enclosing
Built-in
___

Create a free account to access the full topic