Skip to content

Commit daee555

Browse files
committed
Added type hint
1 parent a06128f commit daee555

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/PIL/VtfImagePlugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ class VtfImageFile(ImageFile.ImageFile):
183183
format = "VTF"
184184
format_description = "Valve Texture Format"
185185

186-
def _open(self):
186+
def _open(self) -> None:
187187
assert self.fp is not None
188188
if not _accept(self.fp.read(12)):
189189
msg = "not a VTF file"

0 commit comments

Comments
 (0)