Skip to content

Commit a27d728

Browse files
committed
put locals() into builtin stubs
1 parent f97c303 commit a27d728

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stubs/2.7/builtins.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -843,6 +843,7 @@ def __import__(name: unicode,
843843
fromlist: List[str] = ..., level: int = ...) -> Any: ...
844844

845845
def globals() -> Dict[str, Any]: ...
846+
def locals() -> Dict[str, Any]: ...
846847

847848
# TODO: buffer support is incomplete; e.g. some_string.startswith(some_buffer) doesn't type check.
848849
AnyBuffer = TypeVar('AnyBuffer', str, unicode, bytearray, buffer)

0 commit comments

Comments
 (0)