Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ python-function-local-from-import.test.ts
File
python-function-local-from-import.test.ts
__tests__/python-function-local-from-import.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* A `from x
import
name` written inside a Python
function
binds `name` in that
3
*
function
only (#3229). Calls of `name` elsewhere in the file are not calls of
4
* the
import
: they run the file
's own `def name`. The importing function'
s own
Callers
nothing calls this directly
Calls
5
describe
Function · 0.85
index
Function · 0.70
callees
Function · 0.70
close
Method · 0.65
join
Method · 0.45
Tested by
no test coverage detected