MCPcopy Index your code
hub / github.com/RustPython/RustPython / b

Function b

extra_tests/snippets/syntax_global_nonlocal.py:7–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5a = 2
6
7def b():
8 global a
9 a = 4
10
11assert a == 2
12b()

Callers 12

fMethod · 0.85
fMethod · 0.85
test_cr_awaitMethod · 0.85
aMethod · 0.85
_tryfinallyFunction · 0.85
_tryfinallyconstFunction · 0.85
woohooMethod · 0.85
test_functionMethod · 0.85
stdlib_weakref.pyFile · 0.85
AClass · 0.85

Calls

no outgoing calls

Tested by 9

fMethod · 0.68
fMethod · 0.68
test_cr_awaitMethod · 0.68
aMethod · 0.68
_tryfinallyFunction · 0.68
_tryfinallyconstFunction · 0.68
woohooMethod · 0.68
test_functionMethod · 0.68