Skip to content

Instantly share code, notes, and snippets.

@iydon
Last active March 26, 2023 13:53
Show Gist options
  • Save iydon/050f16f4baf7a9b16a077f9f1c1e2eda to your computer and use it in GitHub Desktop.
Save iydon/050f16f4baf7a9b16a077f9f1c1e2eda to your computer and use it in GitHub Desktop.
def add(x: int, y: int) -> int:
'''blablabla
blablabla
blablabla
blablabla [`nothing`][main.nothing] blablabla
Args:
x (int): blablabla
blablabla
Examples:
>>> blablabla
>>> blablabla
>>> blablabla
>>> blablabla
Returns:
ans (int): blablabla
blablabla
Yields:
ans (int): blablabla
blablabla
Raises:
AttributeError: blablabla
blablabla
ValueError:
blablabla
'''
return x + y
def nothing() -> None:
'''Nothing
'''
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment