Skip to content

Commit

Permalink
REF: Make flake8 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanRickli committed Dec 24, 2024
1 parent e13b4fa commit e76d7ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdoc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ def maybe_replace_reprs(a):
try:
a = a.__origin__[args]
except TypeError:
# XXX: Python 3.10-only: Need to convert to list since _CallableGenericAlias.__new__
# XXX: Python 3.10-only: Convert to list since _CallableGenericAlias.__new__
# currently cannot have tuples as arguments.
args_in = list(args[:-1])
arg_out = args[-1]
Expand Down

0 comments on commit e76d7ed

Please sign in to comment.