Created
March 15, 2026 20:14
-
-
Save mypy-play/26bc26dd01c298578d3b7343236c3727 to your computer and use it in GitHub Desktop.
Shared via mypy Playground
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Hard: | |
| pass | |
| class Soft: | |
| pass | |
| lst: list[Hard] | list[Soft] | |
| lst = [val for val in lst] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment