Skip to content

Commit 28a557c

Browse files
Remove unnecessary field
1 parent dbe6094 commit 28a557c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/_pyrepl/reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ class Reader:
214214
lxy: tuple[int, int] = field(init=False)
215215
scheduled_commands: list[str] = field(default_factory=list)
216216
can_colorize: bool = False
217-
gen_colors: Callable[[str], Iterator[ColorSpan]] = field(default=gen_colors)
217+
gen_colors: Callable[[str], Iterator[ColorSpan]] = gen_colors
218218
threading_hook: Callback | None = None
219219

220220
## cached metadata to speed up screen refreshes

0 commit comments

Comments
 (0)