mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-133346: make _colorize.Argparse kw-only constructible (#140620)
Other themes are kw-only constructible.
This commit is contained in:
parent
00026d19c2
commit
387ac2d2f3
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ def __iter__(self) -> Iterator[str]:
|
|||
return iter(self.__dataclass_fields__)
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class Argparse(ThemeSection):
|
||||
usage: str = ANSIColors.BOLD_BLUE
|
||||
prog: str = ANSIColors.BOLD_MAGENTA
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue