Browse Source

Closure

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

2
README.md

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

Loading…
Cancel
Save