mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-27 15:44:46 +03:00
Type annotations: Annotate exclusive_fp.
This commit is contained in:
parent
65fb9d8080
commit
dad7aef359
|
@ -2615,7 +2615,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
|
||||
|
|
Loading…
Reference in New Issue
Block a user