mirror of
https://github.com/python/cpython.git
synced 2025-10-19 16:03:42 +00:00
14 lines
342 B
Python
14 lines
342 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__":
|
|
import sys
|
|
from profiling.tracing.__main__ import main
|
|
main()
|