Skip to content
Discussion options

You must be logged in to vote

You are right, this could actually be the problem. str.strip() is annotated to return str (or LiteralString) unconditionally, not Self.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@RBerga06
Comment options

@srittau
Comment options

Answer selected by doeblerh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants