Skip to content

Instantly share code, notes, and snippets.

@2tony2
Created May 22, 2024 07:22
Show Gist options
  • Select an option

  • Save 2tony2/4fe812af27e05c991501160d4a803bb9 to your computer and use it in GitHub Desktop.

Select an option

Save 2tony2/4fe812af27e05c991501160d4a803bb9 to your computer and use it in GitHub Desktop.
def concat(x: str, y: str) -> str:
return x + y
x: Callable[..., str]
x = str # OK
x = concat # Also OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment