MCPcopy Index your code
hub / github.com/python/cpython / global_function

Function global_function

Lib/test/test_funcattrs.py:9–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7
8
9def global_function():
10 def inner_function():
11 class LocalClass:
12 pass
13 global inner_global_function
14 def inner_global_function():
15 def inner_function2():
16 pass
17 return inner_function2
18 return LocalClass
19 return lambda: inner_function
20
21
22class FuncAttrsTest(unittest.TestCase):

Callers 1

test___qualname__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…