Sounds obvious, but I didn't even realize that you can put non-string
keys in type dictionaries without using this locals() hack.
Showing
Please
register
or
sign in
to comment
keys in type dictionaries without using this locals() hack.