cpython/Lib/cProfile.py
2025-12-06 11:27:31 +00:00

13 lines
327 B
Python

"""Compatibility wrapper for cProfile module.
This module maintains backward compatibility by importing from the new
profiling.tracing module.
"""
from profiling.tracing import run, runctx, Profile
__all__ = ["run", "runctx", "Profile"]
if __name__ == "__main__":
from profiling.tracing.__main__ import main
main()