diff options
author | ptmcg <ptmcg@austin.rr.com> | 2021-09-08 17:35:16 -0500 |
---|---|---|
committer | ptmcg <ptmcg@austin.rr.com> | 2021-09-08 17:35:16 -0500 |
commit | 6b51ff7faf0cb32170b415341725ddfc8d7b10c7 (patch) | |
tree | 26ca619ab9d098d30668cd784abfb258e526d44c /pyparsing/diagram/__init__.py | |
parent | d714f45d927a9712bbb93c8eb4f63b2fff7ad89a (diff) | |
download | pyparsing-git-6b51ff7faf0cb32170b415341725ddfc8d7b10c7.tar.gz |
The blackening
Diffstat (limited to 'pyparsing/diagram/__init__.py')
-rw-r--r-- | pyparsing/diagram/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pyparsing/diagram/__init__.py b/pyparsing/diagram/__init__.py index ce84e8e..7d1c2ef 100644 --- a/pyparsing/diagram/__init__.py +++ b/pyparsing/diagram/__init__.py @@ -466,7 +466,9 @@ def _to_diagram_element( # detect And's created with ``expr*N`` notation - for these use a OneOrMore with a repeat # (all will have the same name, and resultsName) if len(set((e.name, e.resultsName) for e in exprs)) == 1: - ret = EditablePartial.from_call(railroad.OneOrMore, item="", repeat=str(len(exprs))) + ret = EditablePartial.from_call( + railroad.OneOrMore, item="", repeat=str(len(exprs)) + ) elif _should_vertical(vertical, len(exprs)): ret = EditablePartial.from_call(railroad.Stack, items=[]) else: |