Skip to content
Permalink
Browse files

Fix incorrect output in "Mysterious key type conversion" example

Fixes #84
  • Loading branch information...
satwikkansal committed Jun 14, 2018
1 parent d2507c2 commit 548468072160b3bff2dd552a797ce938c0c7abfd
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
@@ -1148,7 +1148,7 @@ str
>>> s = SomeClass('s')
>>> some_dict[s] = 40
>>> some_dict
{'s': 40}
{'s': 40, 's': 42}
>>> keys = list(some_dict.keys())
>>> type(keys[0]), type(keys[1])
(__main__.SomeClass, str)

0 comments on commit 5484680

Please sign in to comment.
You can’t perform that action at this time.