From cf87ecd92acdff5307198f6d339e60127eab143f Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sat, 19 Feb 2022 20:23:21 +0000 Subject: [PATCH] Add `cProfile.__all__` (#7291) --- stdlib/cProfile.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib/cProfile.pyi b/stdlib/cProfile.pyi index 79d59ce4c..edaa67109 100644 --- a/stdlib/cProfile.pyi +++ b/stdlib/cProfile.pyi @@ -4,6 +4,8 @@ from types import CodeType from typing import Any, Callable, TypeVar from typing_extensions import ParamSpec +__all__ = ["run", "runctx", "Profile"] + def run(statement: str, filename: str | None = ..., sort: str | int = ...) -> None: ... def runctx( statement: str, globals: dict[str, Any], locals: dict[str, Any], filename: str | None = ..., sort: str | int = ...