Skip to content

Commit ab496d0

Browse files
authored
Merge pull request #8544 from radarhere/type_hints_quotes
Removed quotes after dropping support for Python 3.8
2 parents 9f09d48 + 7674b1a commit ab496d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PIL/_typing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class SupportsRead(Protocol[_T_co]):
4747
def read(self, __length: int = ...) -> _T_co: ...
4848

4949

50-
StrOrBytesPath = Union[str, bytes, "os.PathLike[str]", "os.PathLike[bytes]"]
50+
StrOrBytesPath = Union[str, bytes, os.PathLike[str], os.PathLike[bytes]]
5151

5252

5353
__all__ = ["Buffer", "IntegralLike", "StrOrBytesPath", "SupportsRead", "TypeGuard"]

0 commit comments

Comments
 (0)