Skip to content

Commit f10fcf8

Browse files
authored
Update core.py (pyparsing#259)
since `pip install railroad` installs anthor package, I think it is better to point out the corrected one.
1 parent 32ac0bf commit f10fcf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyparsing/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1802,7 +1802,7 @@ def create_diagram(expr: "ParserElement", output_html, vertical=3, **kwargs):
18021802
from .diagram import to_railroad, railroad_to_html
18031803
except ImportError as ie:
18041804
raise Exception(
1805-
"must install 'railroad' to generate parser railroad diagrams"
1805+
"must install 'Railroad-Diagram Generator' from https://pypi.org/project/railroad-diagrams to generate parser railroad diagrams"
18061806
) from ie
18071807

18081808
railroad = to_railroad(expr, vertical=vertical, diagram_kwargs=kwargs)

0 commit comments

Comments
 (0)