Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ foo
Function
foo
extra_tests/snippets/syntax_function2.py:7–9 ·
view source on GitHub ↗
test
()
Source
from the content-addressed store, hash-verified
5
6
7
def
foo():
8
""
"test"
""
9
return
42
10
11
assert foo() == 42
12
assert foo.__doc__ ==
"test"
Callers
1
syntax_function2.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected