Skip to content

Commit

Permalink
Fixes #16
Browse files Browse the repository at this point in the history
  • Loading branch information
sg495 committed Feb 21, 2024
1 parent 1aea7a3 commit 4601fe5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions typing_validation/inspector.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,10 +412,12 @@ def _repr(
if tag == "tuple":
if param is None:
item_lines, idx = self._repr(idx + 1, level + 1)
item_lines[-1] += ","
if pending_type is not None:
lines = [
indent + f"{pending_type.__name__}[",
*item_lines,
next_indent + "...",
indent + "]",
]
else:
Expand Down

0 comments on commit 4601fe5

Please sign in to comment.