Fix typo
This commit is contained in:
@@ -11,7 +11,7 @@ class Counter:
|
|||||||
def __init__(self, start: int = 0) -> None:
|
def __init__(self, start: int = 0) -> None:
|
||||||
self.counter = start
|
self.counter = start
|
||||||
|
|
||||||
def next(self) -> int:
|
def __next__(self) -> int:
|
||||||
id = self.counter
|
id = self.counter
|
||||||
self.counter += 1
|
self.counter += 1
|
||||||
return id
|
return id
|
||||||
|
|||||||
Reference in New Issue
Block a user