Skip to content

Commit

Permalink
Replace | with Union for Python 3.8.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBackx committed Nov 2, 2024
1 parent 9773a4d commit b762e9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/click/decorators.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from collections import abc
import inspect
import types
import typing as t
from collections import abc
from functools import update_wrapper
from gettext import gettext as _

Expand Down Expand Up @@ -530,7 +530,7 @@ class HelpOption(Option):

def __init__(
self,
param_decls: abc.Sequence[str] | None = None,
param_decls: t.Optional[abc.Sequence[str]] = None,
**kwargs: t.Any,
) -> None:
if not param_decls:
Expand Down

0 comments on commit b762e9c

Please sign in to comment.