mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-27 12:02:19 +08:00
Use typing_extensions.Self instead of _typeshed.Self (#9702)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# Not available at runtime. Contains type definitions that are otherwise not exposed and not part of a specific module.
|
||||
from _typeshed import Incomplete, Self
|
||||
from _typeshed import Incomplete
|
||||
from collections.abc import Iterable
|
||||
from typing import overload
|
||||
from typing_extensions import Literal, final
|
||||
from typing_extensions import Literal, Self, final
|
||||
|
||||
class ArgNotFound: ...
|
||||
class PyOleEmpty: ...
|
||||
@@ -923,7 +923,7 @@ class PyHANDLE:
|
||||
def handle(self) -> int: ...
|
||||
def Close(self) -> None: ...
|
||||
def close(self) -> None: ...
|
||||
def Detach(self: Self) -> Self: ...
|
||||
def Detach(self) -> Self: ...
|
||||
|
||||
@final
|
||||
class PyHDESK:
|
||||
|
||||
Reference in New Issue
Block a user