mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 21:15:17 +08:00
Final for logging constants (#12453)
This commit is contained in:
1 parent
3db7f01a31
commit
8ac4af63cd
2 files changed
+18
-18
No files matched your search
@@ -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