We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 967c8d4 commit c8f2cdeCopy full SHA for c8f2cde
README.md
@@ -582,7 +582,7 @@ from functools import partial
582
583
```python
584
def get_counter():
585
- a = 0
+ a = 1
586
def out():
587
nonlocal a
588
a += 1
@@ -593,7 +593,7 @@ def get_counter():
593
594
>>> counter = get_counter()
595
>>> counter(), counter(), counter()
596
-(0, 1, 2)
+(1, 2, 3)
597
```
598
599
0 commit comments