diff --git a/src/click/core.py b/src/click/core.py index a6336ecf8..4875fb79d 100644 --- a/src/click/core.py +++ b/src/click/core.py @@ -2696,8 +2696,8 @@ def _write_opts(opts: cabc.Sequence[str]) -> str: return ("; " if any_prefix_is_slash else " / ").join(rv), help - def get_help_extra(self, ctx: Context) -> t.Dict[str, t.Any]: - extra: t.Dict[str, t.Any] = {} + def get_help_extra(self, ctx: Context) -> dict[str, t.Any]: + extra: dict[str, t.Any] = {} if self.show_envvar: envvar = self.envvar