Browse Source

Nonlocal

pull/10/head
Jure Šorn 6 years ago
parent
commit
b3fc373f18
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -578,7 +578,7 @@ from functools import partial
```
### Nonlocal
**If variable is assigned to anywhere in the scope, it is regarded as local variable, unless it is declared as global or 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.**
```python
def get_counter():

Loading…
Cancel
Save