mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
logging.LogRecord: improve annotation for msg (#9914)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -389,7 +389,7 @@ class LogRecord:
|
||||
msecs: float
|
||||
# Only created when logging.Formatter.format is called. See #6132.
|
||||
message: str
|
||||
msg: str
|
||||
msg: str | Any # The runtime accepts any object, but will be a str in 99% of cases
|
||||
name: str
|
||||
pathname: str
|
||||
process: int | None
|
||||
|
||||
Reference in New Issue
Block a user