From aeb19baa84ec38cfb39ce56c2f0a26d476305367 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Thu, 25 May 2017 19:39:15 -0700 Subject: [PATCH] add symtable.symtable (#1360) https://docs.python.org/3/library/symtable.html#symtable.symtable and https://docs.python.org/2/library/symtable.html#symtable.symtable --- stdlib/2and3/symtable.pyi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stdlib/2and3/symtable.pyi b/stdlib/2and3/symtable.pyi index 90872639d..fd8b9ad79 100644 --- a/stdlib/2and3/symtable.pyi +++ b/stdlib/2and3/symtable.pyi @@ -1,7 +1,7 @@ -# Stubs for symtable (Python 2 and 3) - import sys -from typing import List, Sequence, Tuple +from typing import List, Sequence, Tuple, Text + +def symtable(code: Text, filename: Text, compile_type: Text) -> SymbolTable: ... class SymbolTable(object): def get_type(self) -> str: ...