mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-26 07:04:45 +03:00
Type annotations: Annotate exclusive_fp.
This commit is contained in:
parent
898c83d261
commit
04f7ac3085
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user