mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
[Add stub entry for logging._srcfile] (#3840)
- While this appears to be private, it's also documented as available to set here: https://docs.python.org/3/howto/logging.html#optimization - Did *not* update `logging.logThreads` et al to match the documentation as it may be more appropriate to update the documentation to set to `False` rather than to `0` based on how these are used Type further narrowed based on known type of a parameter to `os.normcase`
This commit is contained in:
@@ -29,6 +29,7 @@ raiseExceptions: bool
|
||||
logThreads: bool
|
||||
logMultiprocessing: bool
|
||||
logProcesses: bool
|
||||
_srcfile: Optional[str]
|
||||
|
||||
def currentframe() -> FrameType: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user