Skip to content

Commit 4601fe5

Browse files
committed
Fixes #16
1 parent 1aea7a3 commit 4601fe5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

typing_validation/inspector.py

+2
Original file line numberDiff line numberDiff line change
@@ -412,10 +412,12 @@ def _repr(
412412
if tag == "tuple":
413413
if param is None:
414414
item_lines, idx = self._repr(idx + 1, level + 1)
415+
item_lines[-1] += ","
415416
if pending_type is not None:
416417
lines = [
417418
indent + f"{pending_type.__name__}[",
418419
*item_lines,
420+
next_indent + "...",
419421
indent + "]",
420422
]
421423
else:

0 commit comments

Comments
 (0)