/usr/share/cagefs-skeleton/opt/cloudlinux/venv/lib/python3.11/site-packages/coverage
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Bytecode manipulation for coverage.py""" from __future__ import annotations from types import CodeType from typing import Iterator def code_objects(code: CodeType) -> Iterator[CodeType]: """Iterate over all the code objects in `code`.""" stack = [code] while stack: # We're going to return the code object on the stack, but first # push its children for later returning. code = stack.pop() for c in code.co_consts: if isinstance(c, CodeType): stack.append(c) yield code
.
Edit
..
Edit
__init__.py
Edit
__main__.py
Edit
__pycache__
Edit
annotate.py
Edit
bytecode.py
Edit
cmdline.py
Edit
collector.py
Edit
config.py
Edit
context.py
Edit
control.py
Edit
data.py
Edit
debug.py
Edit
disposition.py
Edit
env.py
Edit
exceptions.py
Edit
execfile.py
Edit
files.py
Edit
fullcoverage
Edit
html.py
Edit
htmlfiles
Edit
inorout.py
Edit
jsonreport.py
Edit
lcovreport.py
Edit
misc.py
Edit
multiproc.py
Edit
numbits.py
Edit
parser.py
Edit
phystokens.py
Edit
plugin.py
Edit
plugin_support.py
Edit
py.typed
Edit
python.py
Edit
pytracer.py
Edit
report.py
Edit
report_core.py
Edit
results.py
Edit
sqldata.py
Edit
templite.py
Edit
tomlconfig.py
Edit
tracer.cpython-311-x86_64-linux-gnu.so
Edit
types.py
Edit
version.py
Edit
xmlreport.py
Edit