Browse Source

Nonlocal

pull/27/head
Jure Šorn 5 years ago
parent
commit
ea1430d8f8
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -575,7 +575,7 @@ from functools import partial
```
### Nonlocal
**If variable is assigned to anywhere in the scope, it is regarded as a local variable, unless it is declared as global or nonlocal.**
**If variable is being assigned to anywhere in the scope, it is regarded as a local variable, unless it is declared as global or nonlocal.**
```python
def get_counter():

Loading…
Cancel
Save