mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-30 08:04:24 +08:00
typeshed: update stubtest version (#4739)
* typeshed: update stubtest version Includes changes from https://github.com/python/mypy/pull/9680 I've already fixed all the true positives on typeshed. * attempt to fix windows' _WarnFunction Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -3,7 +3,7 @@ from types import TracebackType
|
||||
from typing import Callable, Optional, Protocol, Tuple, Type
|
||||
|
||||
class _WarnFunction(Protocol):
|
||||
def __call__(self, message: str, category: Type[Warning], source: PipeHandle) -> None: ...
|
||||
def __call__(self, message: str, category: Type[Warning] = ..., stacklevel: int = ..., source: PipeHandle = ...) -> None: ...
|
||||
|
||||
BUFSIZE: int
|
||||
PIPE: int
|
||||
|
||||
Reference in New Issue
Block a user