Add @disjoint_base decorator in the stdlib (#14599)

And fix some other new stubtest finds.
This commit is contained in:
Jelle Zijlstra authored and GitHub committed 2025-08-24 07:27:14 -07:00
1 parent 2565f34946
commit e8ba06f710
55 files changed
+701 -307

No files matched your search

+2
View File
@@ -3,7 +3,9 @@ from _typeshed import structseq
from collections.abc import Callable
from types import CodeType
from typing import Any, Final, final
from typing_extensions import disjoint_base
@disjoint_base
class Profiler:
def __init__(
self, timer: Callable[[], float] | None = None, timeunit: float = 0.0, subcalls: bool = True, builtins: bool = True