Skip to content

Commit

Permalink
Allow an empty type arg
Browse files Browse the repository at this point in the history
  • Loading branch information
tabatkins committed Oct 28, 2024
1 parent 1ac0f57 commit 9e4e5f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bikeshed/shorthands/oldShorthands.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def transformProductionPlaceholders(doc: t.SpecT) -> None:
r"""
^(?:(\S*)/)?
(\S+)
\s*\[([^\]]+)\]\s*$
\s*\[([^\]]*)\]\s*$
""",
re.X,
)
Expand Down

0 comments on commit 9e4e5f0

Please sign in to comment.