Browse Source

Closure

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

2
README.md

@ -543,7 +543,7 @@ creature = Creature()
Closure
-------
**We have a closure in Python when:**
* **Nested function references a value of its enclosing function and then**
* **A nested function references a value of its enclosing function and then**
* **the enclosing function returns the nested function.**
```python

Loading…
Cancel
Save