Skip to content

Commit 1523c6e

Browse files
committed
Callable
1 parent 1cc56f4 commit 1523c6e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -758,6 +758,12 @@ class Counter:
758758
return self.a
759759
```
760760

761+
```python
762+
>>> c = Counter()
763+
>>> c(), c(), c()
764+
(1, 2, 3)
765+
```
766+
761767
### Withable
762768
```python
763769
class FileReader():

0 commit comments

Comments
 (0)