MCPcopy Create free account
hub / github.com/bedroombuilds/python2rust / multiply

Function multiply

00_hello_world/python/syntax.py:4–12  ·  view source on GitHub ↗

docstring for function.

(x: int, y: int)

Source from the content-addressed store, hash-verified

2"docstring for module."
3
4def multiply(x: int, y: int) -> int:
5 "docstring for function."
6 # one line comment
7 return x * y
8 """multiline comment explaining
9 that type hints using annotations are not
10 enforced but can be used by third party tools
11 such as type checkers, IDEs, linters, etc.
12 """
13
14
15if __name__ == "__main__":

Callers 1

syntax.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected