Skip to content

Commit

Permalink
fixup! fixup! Implement Victor's suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
pablogsal committed Mar 21, 2019
1 parent 959cee2 commit 78cbbf0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
7 changes: 3 additions & 4 deletions Lib/keyword.py
@@ -1,4 +1,3 @@
\
#! /usr/bin/env python3

"""Keywords (from "Grammar/Grammar")
Expand All @@ -8,9 +7,9 @@
To update the symbols in this file, 'cd' to the top directory of
the python source tree and run:
python3 -m Parser.pgen.keywordgen ./Grammar/Grammar \
./Grammar/Tokens \
./Lib/keyword.py
python3 -m Parser.pgen.keywordgen Grammar/Grammar \
Grammar/Tokens \
Lib/keyword.py
Alternatively, you can run 'make regen-keyword'.
"""
Expand Down
8 changes: 4 additions & 4 deletions Parser/pgen/keywordgen.py
Expand Up @@ -4,7 +4,7 @@

from .pgen import ParserGenerator

TEMPLATE = r'''\
TEMPLATE = r'''
#! /usr/bin/env python3
"""Keywords (from "Grammar/Grammar")
Expand All @@ -14,9 +14,9 @@
To update the symbols in this file, 'cd' to the top directory of
the python source tree and run:
python3 -m Parser.pgen.keywordgen ./Grammar/Grammar \
./Grammar/Tokens \
./Lib/keyword.py
python3 -m Parser.pgen.keywordgen Grammar/Grammar \
Grammar/Tokens \
Lib/keyword.py
Alternatively, you can run 'make regen-keyword'.
"""
Expand Down

0 comments on commit 78cbbf0

Please sign in to comment.