more 3.7 features (#2017)

This commit is contained in:
Jelle Zijlstra
2018-04-06 11:09:45 -07:00
committed by Guido van Rossum
parent 7cfbc7d17f
commit 0acdfd1548
3 changed files with 16 additions and 2 deletions

View File

@@ -175,6 +175,9 @@ class FrameType:
f_lineno = ... # type: int
f_locals = ... # type: Dict[str, Any]
f_trace = ... # type: Callable[[], None]
if sys.version_info >= (3, 7):
f_frace_lines: bool
f_trace_opcodes: bool
def clear(self) -> None: ...