EN VI
Posts (0)

No data results!

Please check back again in feature!

Questions (2)
2024-03-10 01:30:05
What about this? def get_parsers() -> dict[str, type[ASectionParser] | type[BSectionParser]]: return { "a": ASectionParser, "b": BSectionParser, } or... def get_parsers() -> d...
Tags: python python-3.x mypy
2024-03-17 08:00:07
You've assigned the Type Definition to tracker, not an actual instance of a dictionary. Also {1,2,3} is a set, not a list. tracker: Dict[int, List[int]] = dict() tracker.update({1: [1,2,3]}) trac...
Tags: python dictionary key

Login


Forgot Your Password?

Create Account


Lost your password? Please enter your email address. You will receive a link to create a new password.

Reset Password

Back to login