mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-07 05:54:02 +08:00
Add @disjoint_base decorator in the stdlib (#14599)
And fix some other new stubtest finds.
This commit is contained in:
@@ -146,6 +146,7 @@ class Path(PurePath):
|
||||
__slots__ = ()
|
||||
else:
|
||||
__slots__ = ("_accessor",)
|
||||
|
||||
if sys.version_info >= (3, 12):
|
||||
def __new__(cls, *args: StrPath, **kwargs: Unused) -> Self: ... # pyright: ignore[reportInconsistentConstructor]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user