mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Add logging.Formatter.formatMessage method (#2850)
This commit is contained in:
committed by
Sebastian Rittau
parent
832bf52c28
commit
4856458251
@@ -186,6 +186,7 @@ class Formatter:
|
||||
def formatTime(self, record: LogRecord, datefmt: str = ...) -> str: ...
|
||||
def formatException(self, exc_info: _SysExcInfoType) -> str: ...
|
||||
if sys.version_info >= (3,):
|
||||
def formatMessage(self, record: LogRecord) -> str: ... # undocumented
|
||||
def formatStack(self, stack_info: str) -> str: ...
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user