Fix dict counter constructor

pull/2/head
A. R. Shajii 2021-09-30 11:03:17 -04:00
parent ede7765171
commit 409beab1bc
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ class Counter[T](Dict[T,int]):
@extend
class Dict:
def __init__(self, other: Counter[K]):
def __init__(self: Dict[K,int], other: Counter[K]):
self._init_from(other)
def namedtuple(): # internal