8000 add _lsprof module by tungol · Pull Request #11159 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

add _lsprof module #11159

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add _lsprof to ruff's isort config
  • Loading branch information
tungol committed Dec 13, 2023
commit 5baa3ac5d35d46430f18e00babb44e66ec210e63
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ extra-standard-library = [
"_imp",
"_json",
"_locale",
"_lsprof",
"_markupbase",
"_msi",
"_operator",
Expand Down
3 changes: 1 addition & 2 deletions stdlib/cProfile.pyi
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import _lsprof
import sys
from _typeshed import StrOrBytesPath, Unused
from collections.abc import Callable
from types import CodeType
from typing import Any, TypeVar
from typing_extensions import ParamSpec, Self, TypeAlias

import _lsprof

__all__ = ["run", "runctx", "Profile"]

def run(statement: str, filename: str | None = None, sort: str | int = -1) -> None: ...
Expand Down
0