MCPcopy Index your code
hub / github.com/python/mypy / is_maybe_undefined

Function is_maybe_undefined

mypyc/transform/refcount.py:92–95  ·  view source on GitHub ↗
(post_must_defined: set[Value], src: Value)

Source from the content-addressed store, hash-verified

90
91
92def is_maybe_undefined(post_must_defined: set[Value], src: Value) -> bool:
93 return (isinstance(src, Register) and src not in post_must_defined) or (
94 isinstance(src, CallC) and src.returns_null
95 )
96
97
98def maybe_append_dec_ref(

Callers 2

maybe_append_dec_refFunction · 0.85
after_branch_decrefsFunction · 0.85

Calls 1

isinstanceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…