Debian Codegraph @

pypy/module/cpyext/interp_cpyext.py

raw symbols SCIP
1 from .methodobject import W_PyCFunctionObject, W_PyCMethodObject
2
3 def is_cpyext_builtin_function(space, w_arg):
4 return space.newbool(
5 isinstance(w_arg, W_PyCFunctionObject) and
6 not isinstance(w_arg, W_PyCMethodObject)
7 )