Skip to content

Commit

Permalink
Remove unused LPAREN token from tokenizer
Browse files Browse the repository at this point in the history
This token was a part of original handwritten parser, but it was later
replaced with LEFT_PARENTHESIS token.
  • Loading branch information
hrnciar authored and pradyunsg committed Dec 8, 2022
1 parent 4f1c81e commit 4221ba0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packaging/_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def __str__(self) -> str:


DEFAULT_RULES: "Dict[str, Union[str, re.Pattern[str]]]" = {
"LPAREN": r"\s*\(",
"LEFT_PARENTHESIS": r"\(",
"RIGHT_PARENTHESIS": r"\)",
"LEFT_BRACKET": r"\[",
Expand Down

0 comments on commit 4221ba0

Please sign in to comment.