diff --git a/src/PIL/ImageDraw.py b/src/PIL/ImageDraw.py index 3ae60bb318e..1012dcbc039 100644 --- a/src/PIL/ImageDraw.py +++ b/src/PIL/ImageDraw.py @@ -241,7 +241,7 @@ def line( xy: Coords, fill: _Ink | None = None, width: int = 0, - joint: Literal[curve] | None = None, + joint: Literal["curve"] | None = None, ) -> None: """Draw a line, or a connected sequence of line segments.""" ink = self._getink(fill)[0]