Skip to content

Commit 80d5b42

Browse files
radarherehugovk
andauthored
Do not import type checking
Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent ca9f4f8 commit 80d5b42

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/PIL/ImageGrab.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@
2222
import subprocess
2323
import sys
2424
import tempfile
25-
from typing import TYPE_CHECKING
26-
2725
from . import Image
2826

27+
TYPE_CHECKING = False
2928
if TYPE_CHECKING:
3029
from . import ImageWin
3130

0 commit comments

Comments
 (0)