Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2c5f8b0

Browse files
committed
Callable
1 parent d7aad54 commit 2c5f8b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ class Counter:
755755
self.i = 0
756756
def __call__(self):
757757
self.i += 1
758-
return self.a
758+
return self.i
759759
```
760760

761761
```python

0 commit comments

Comments
 (0)