Created
July 14, 2025 18:45
-
-
Save pschanely/d76ae82e8d6a58fcae6b4dda842d39fd to your computer and use it in GitHub Desktop.
Shared via CrossHair 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
from typing import TypeAlias | |
MyIntOld: TypeAlias = int | |
type MyIntNew = int | |
def make_bigger(n: MyIntOld) -> int: | |
''' | |
post: __return__ != 0 | |
''' | |
return 2 * n + 10 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment