Created
March 15, 2026 15:12
-
-
Save mypy-play/792d51700e4f1165382d81f243c9b148 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