mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Fix several new-in-3.11 stubtest errors (#7973)
This commit is contained in:
@@ -181,6 +181,9 @@ class SysLogHandler(Handler):
|
||||
facility_names: ClassVar[dict[str, int]] # undocumented
|
||||
priority_map: ClassVar[dict[str, str]] # undocumented
|
||||
def __init__(self, address: tuple[str, int] | str = ..., facility: int = ..., socktype: SocketKind | None = ...) -> None: ...
|
||||
if sys.version_info >= (3, 11):
|
||||
def createSocket(self) -> None: ...
|
||||
|
||||
def encodePriority(self, facility: int | str, priority: int | str) -> int: ...
|
||||
def mapPriority(self, levelName: str) -> str: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user