mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Final for logging constants (#12453)
This commit is contained in:
@@ -8,16 +8,16 @@ from logging import FileHandler, Handler, LogRecord
|
||||
from re import Pattern
|
||||
from socket import SocketKind, socket
|
||||
from threading import Thread
|
||||
from typing import Any, ClassVar, Protocol, TypeVar
|
||||
from typing import Any, ClassVar, Final, Protocol, TypeVar
|
||||
|
||||
_T = TypeVar("_T")
|
||||
|
||||
DEFAULT_TCP_LOGGING_PORT: int
|
||||
DEFAULT_UDP_LOGGING_PORT: int
|
||||
DEFAULT_HTTP_LOGGING_PORT: int
|
||||
DEFAULT_SOAP_LOGGING_PORT: int
|
||||
SYSLOG_UDP_PORT: int
|
||||
SYSLOG_TCP_PORT: int
|
||||
DEFAULT_TCP_LOGGING_PORT: Final[int]
|
||||
DEFAULT_UDP_LOGGING_PORT: Final[int]
|
||||
DEFAULT_HTTP_LOGGING_PORT: Final[int]
|
||||
DEFAULT_SOAP_LOGGING_PORT: Final[int]
|
||||
SYSLOG_UDP_PORT: Final[int]
|
||||
SYSLOG_TCP_PORT: Final[int]
|
||||
|
||||
class WatchedFileHandler(FileHandler):
|
||||
dev: int # undocumented
|
||||
|
||||
Reference in New Issue
Block a user