-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the formating of (Parent)Rules (#270)
- Vertically compact the repr format of ParentRules with children - Avoid empty lines in the dbg format of ParentRules with no children - Don't show None as the name in the repr format of UnparserRuleQuantifieds - Implement reusable computations of repr and dbg formats of children of ParentRules - Use f-strings instead of .format() where possible
- Loading branch information
1 parent
8c81d4f
commit 294f927
Showing
1 changed file
with
31 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters