Skip to content

Instantly share code, notes, and snippets.

@mypy-play
Created March 8, 2025 05:06
Show Gist options
  • Save mypy-play/5be530055ba193c6358b6f4866deef53 to your computer and use it in GitHub Desktop.
Save mypy-play/5be530055ba193c6358b6f4866deef53 to your computer and use it in GitHub Desktop.
Shared via mypy Playground
# mypy: allow-any-expr=False
class A(tuple[int, int]): ...
print(A()[:])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment