Skip to content
Discussion options

You must be logged in to vote

Presumably you previously assigned a dict to _ somewhere, e.g.

_: dict

# much later...
id, _, name = "id:name".partition(":")  # E: Type "LiteralString" is not assignable to declared type "dict[Unknown, Unknown]"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@catcombo
Comment options

Answer selected by catcombo
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