blob: 4af82f2cb8c8485cbaf778b11e0d7faa65606434 [file] [log] [blame]
"""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__":
import sys
from profiling.tracing.__main__ import main
main()