Skip to content

Does pyright have something against find literal? =) #8743

Answered by erictraut
belegnar asked this question in Q&A
Discussion options

You must be logged in to vote

The type StrEnum derives from both str and ReprEnum. The str class declares a method called find, and you are attempting to overwrite this with a value whose type is incompatible with the existing declaration.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by belegnar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants