diff options
| author | Terry Jan Reedy <tjreedy@udel.edu> | 2013-03-11 17:57:08 -0400 |
|---|---|---|
| committer | Terry Jan Reedy <tjreedy@udel.edu> | 2013-03-11 17:57:08 -0400 |
| commit | c30b7b16ea03ad094917615940cd1a9ef53c4904 (patch) | |
| tree | 6c3f56533f33d2be19d9bf1cc7bc659eb005959b /Lib/lib2to3 | |
| parent | 0158af38b73b76516f18b1774e1c590f459cb188 (diff) | |
| download | cpython-git-c30b7b16ea03ad094917615940cd1a9ef53c4904.tar.gz | |
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')
| -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 26caeb4ba5..14c5f70f1d 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.) |
