Add missing definition of compile() for 2.7.

This commit is contained in:
Guido van Rossum
2016-02-03 21:32:41 -08:00
parent bc26b28d78
commit b6e1964881

View File

@@ -644,6 +644,8 @@ def any(i: Iterable) -> bool: ...
def bin(number: int) -> str: ...
def callable(o: object) -> bool: ...
def chr(code: int) -> str: ...
def compile(source: Any, filename: unicode, mode: str, flags: int = 0,
dont_inherit: int = 0) -> Any: ...
def delattr(o: Any, name: unicode) -> None: ...
def dir(o: object = ...) -> List[str]: ...
@overload