Skip to content

Commit

Permalink
bypass: (PyStr,) == (string,) not compile
Browse files Browse the repository at this point in the history
  • Loading branch information
litlighilit committed Jun 29, 2024
1 parent 77f634f commit fdc6664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pylib/builtins/dict.nim
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ iterator iter*[K, V](self: PyDict[K ,V]): K =
for i in iter(d):
assert i == "a"
for i in d:
assert i == ("a", 1)
assert i[0] == "a" and i[1] == 1

for i in self.keys(): yield i

Expand Down

0 comments on commit fdc6664

Please sign in to comment.