Skip to content

Instantly share code, notes, and snippets.

@mypy-play
Created May 3, 2025 09:28
Show Gist options
  • Save mypy-play/4e82d2194b167b990da83b77b26bfdf9 to your computer and use it in GitHub Desktop.
Save mypy-play/4e82d2194b167b990da83b77b26bfdf9 to your computer and use it in GitHub Desktop.
Shared via mypy Playground
def foo(*args: str) -> tuple[str, ...]:
return args
print(foo(args="a"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment