mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-24 03:51:52 +08:00
Backport many Self-related changes to the Python-2 stdlib (#7128)
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
from typing import Any, Callable
|
||||
from typing_extensions import final
|
||||
|
||||
def _count() -> int: ...
|
||||
|
||||
class error(Exception): ...
|
||||
|
||||
@final
|
||||
class LockType:
|
||||
def acquire(self, waitflag: int = ...) -> bool: ...
|
||||
def acquire_lock(self, waitflag: int = ...) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user