Add missing currentframe to logging module (#2712)

This commit is contained in:
Savo Kovačević
2018-12-23 19:57:15 +01:00
committed by Sebastian Rittau
parent eb1788ac39
commit 8542916231

View File

@@ -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]