mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
13 lines
327 B
Python
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()
|