Skip to content

Commit f5f07bc

Browse files
committed
add kw_only to _colorize.Argparse dataclass
1 parent 134ff81 commit f5f07bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/_colorize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def __iter__(self) -> Iterator[str]:
155155
return iter(self.__dataclass_fields__)
156156

157157

158-
@dataclass(frozen=True)
158+
@dataclass(frozen=True, kw_only=True)
159159
class Argparse(ThemeSection):
160160
usage: str = ANSIColors.BOLD_BLUE
161161
prog: str = ANSIColors.BOLD_MAGENTA

0 commit comments

Comments
 (0)