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

Function _check_unsupported

Tools/c-analyzer/cpython/_analyzer.py:195–206  ·  view source on GitHub ↗
(decl, typedeps, types, knowntypes)

Source from the content-addressed store, hash-verified

193
194
195def _check_unsupported(decl, typedeps, types, knowntypes):
196 if typedeps is None:
197 raise NotImplementedError(decl)
198
199 if decl.kind in (KIND.STRUCT, KIND.UNION):
200 return _check_members(decl, typedeps, types, knowntypes)
201 elif decl.kind is KIND.ENUM:
202 if typedeps:
203 raise NotImplementedError((decl, typedeps))
204 return None
205 else:
206 return _check_typedep(decl, typedeps, types, knowntypes)
207
208
209def _check_members(decl, typedeps, types, knowntypes):

Callers 1

analyze_resolvedFunction · 0.85

Calls 2

_check_membersFunction · 0.85
_check_typedepFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…