diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2013-03-11 21:59:07 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2013-03-11 21:59:07 (GMT) |
commit | 16b5c13668b0fe0ecb2265b6d6968d3da5ca10ba (patch) | |
tree | 794a55c65c29332c5994e97428d4ee96d1f5256b /Lib/lib2to3/pgen2 | |
parent | 16c41d8520b7993cffa576f9021ff712d80ab825 (diff) | |
parent | 98472b839674a78b0cbb09f50a61f70019591a4a (diff) | |
download | cpython-16b5c13668b0fe0ecb2265b6d6968d3da5ca10ba.zip cpython-16b5c13668b0fe0ecb2265b6d6968d3da5ca10ba.tar.gz cpython-16b5c13668b0fe0ecb2265b6d6968d3da5ca10ba.tar.bz2 |
Merge 3.3, issue #17047: remove doubled words found in 2.7 to
3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
Diffstat (limited to 'Lib/lib2to3/pgen2')
-rw-r--r-- | Lib/lib2to3/pgen2/grammar.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib2to3/pgen2/grammar.py b/Lib/lib2to3/pgen2/grammar.py index 5ad21ff..7f1c564 100644 --- a/Lib/lib2to3/pgen2/grammar.py +++ b/Lib/lib2to3/pgen2/grammar.py @@ -20,7 +20,7 @@ from . import token, tokenize class Grammar(object): - """Pgen parsing tables tables conversion class. + """Pgen parsing tables conversion class. Once initialized, this class supplies the grammar tables for the parsing engine implemented by parse.py. The parsing engine @@ -45,7 +45,7 @@ class Grammar(object): these two are each other's inverse. states -- a list of DFAs, where each DFA is a list of - states, each state is is a list of arcs, and each + states, each state is a list of arcs, and each arc is a (i, j) pair where i is a label and j is a state number. The DFA number is the index into this list. (This name is slightly confusing.) |