Browse Source

Closure

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

2
README.md

@ -537,7 +537,7 @@ creature = Creature()
Closure
-------
**We have a closure in Python when:**
* **A 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