Skip to content

Working with Hashable type for variable names and mypy #4834

Answered by rhkleijn
jorgsk asked this question in General
Discussion options

You must be logged in to vote

I guess str(var_name).upper() would do the trick.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@max-sixty
Comment options

@jorgsk
Comment options

Answer selected by max-sixty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants