Type annotations: Annotate exclusive_fp.

This commit is contained in:
neiljp (Neil Pilgrim) 2017-08-19 13:35:39 -07:00 committed by Eric Soroos
parent 898c83d261
commit 04f7ac3085

View File

@ -2637,7 +2637,7 @@ def open(fp, mode="r"):
if mode != "r":
raise ValueError("bad mode %r" % mode)
exclusive_fp = False
exclusive_fp = False # type: bool
filename = ""
if isPath(fp):
filename = fp