bundles / numpy latest / numpy / _utils / _inspect / iscode
function
numpy._utils._inspect:iscode
source: build-install/usr/lib/python3.14/site-packages/numpy/_utils/_inspect.py :41
Signature
def iscode ( object ) Summary
Return true if the object is a code object.
Extended Summary
Code objects provide these attributes:
co_argcount number of arguments (not including * or ** args) co_code string of raw compiled bytecode co_consts tuple of constants used in the bytecode co_filename name of file in which this code object was created co_firstlineno number of first line in Python source code co_flags bitmap: 1=optimized | 2=newlocals | 4=*arg | 8=**arg co_lnotab encoded mapping of line numbers to bytecode indices co_name name with which this code object was defined co_names tuple of names of local variables co_nlocals number of local variables co_stacksize virtual machine stack space required co_varnames tuple of names of arguments and local variables
Aliases
-
numpy._utils._inspect.iscode