mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Corrected type hint
This commit is contained in:
parent
eeb1eeab20
commit
8dae9b618f
|
@ -1089,7 +1089,7 @@ def isIntentSupported(
|
|||
raise PyCMSError(v) from v
|
||||
|
||||
|
||||
def versions() -> tuple[str, str, str, str]:
|
||||
def versions() -> tuple[str, str | None, str, str]:
|
||||
"""
|
||||
(pyCMS) Fetches versions.
|
||||
"""
|
||||
|
|
|
@ -2,7 +2,7 @@ import datetime
|
|||
import sys
|
||||
from typing import Literal, SupportsFloat, TypedDict
|
||||
|
||||
littlecms_version: str
|
||||
littlecms_version: str | None
|
||||
|
||||
_Tuple3f = tuple[float, float, float]
|
||||
_Tuple2x3f = tuple[_Tuple3f, _Tuple3f]
|
||||
|
|
Loading…
Reference in New Issue
Block a user