Skip to content

Commit aa37996

Browse files
committed
fix: mypy check
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 parent e4acbd0 commit aa37996

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/_colorize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def decolor(text: str) -> str:
286286
return text
287287

288288

289-
def can_colorize(*, file: IO[str] | IO[bytes] | None = None, already_colorize=False) -> bool:
289+
def can_colorize(*, file: IO[str] | IO[bytes] | None = None, already_colorize: bool = False) -> bool:
290290
if already_colorize:
291291
return True
292292

0 commit comments

Comments
 (0)