mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Add missing currentframe to logging module (#2712)
This commit is contained in:
committed by
Sebastian Rittau
parent
eb1788ac39
commit
8542916231
@@ -6,7 +6,7 @@ from typing import (
|
||||
)
|
||||
from string import Template
|
||||
from time import struct_time
|
||||
from types import TracebackType
|
||||
from types import TracebackType, FrameType
|
||||
import sys
|
||||
import threading
|
||||
|
||||
@@ -27,6 +27,8 @@ else:
|
||||
|
||||
raiseExceptions: bool
|
||||
|
||||
def currentframe() -> FrameType: ...
|
||||
|
||||
if sys.version_info >= (3,):
|
||||
_levelToName = ... # type: Dict[int, str]
|
||||
_nameToLevel = ... # type: Dict[str, int]
|
||||
|
||||
Reference in New Issue
Block a user