diff --git a/stdlib/2.7/__builtin__.pyi b/stdlib/2.7/__builtin__.pyi index d17e12365..3097c92a4 100644 --- a/stdlib/2.7/__builtin__.pyi +++ b/stdlib/2.7/__builtin__.pyi @@ -868,6 +868,9 @@ class BytesWarning(Warning): ... class ResourceWarning(Warning): ... def eval(s: str, globals: Dict[str, Any] = ..., locals: Dict[str, Any] = ...) -> Any: ... +def exec(object: str, + globals: Dict[str, Any] = None, + locals: Dict[str, Any] = None) -> Any: ... # TODO code object as source def cmp(x: Any, y: Any) -> int: ...