Browse Source

Closure

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

2
README.md

@ -554,7 +554,7 @@ def get_multiplier(a):
```
* **If multiple nested functions within enclosing function reference the same value, that value gets shared.**
* **To dynamicaly acces functions first free variable use `'<function>.__closure__[0].cell_contents`'.**
* **To dynamicaly acces functions first free variable use `'<function>.__closure__[0].cell_contents'`.**
#### Or:
```python

Loading…
Cancel
Save