From 409beab1bc3030867e8398af24a0ed92f1165736 Mon Sep 17 00:00:00 2001 From: "A. R. Shajii" Date: Thu, 30 Sep 2021 11:03:17 -0400 Subject: [PATCH] Fix dict counter constructor --- stdlib/collections.seq | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/collections.seq b/stdlib/collections.seq index 3b3faf98..5eb33894 100644 --- a/stdlib/collections.seq +++ b/stdlib/collections.seq @@ -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