| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -36,9 +36,6 @@ | |||
| 36 | 36 | \lineiii{}{\member{expr}}{} | |
| 37 | 37 | \hline | |
| 38 | 38 | ||
| 39 | - \lineiii{Backquote}{\member{expr}}{} | ||
| 40 | - \hline | ||
| 41 | - | ||
| 42 | 39 | \lineiii{Bitand}{\member{nodes}}{} | |
| 43 | 40 | \hline | |
| 44 | 41 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -32,7 +32,7 @@ extern "C" { | |||
| 32 | 32 | #define EQUAL 22 | |
| 33 | 33 | #define DOT 23 | |
| 34 | 34 | #define PERCENT 24 | |
| 35 | - #define BACKQUOTE 25 | ||
| 35 | + /* #define BACKQUOTE 25 */ | ||
| 36 | 36 | #define LBRACE 26 | |
| 37 | 37 | #define RBRACE 27 | |
| 38 | 38 | #define EQEQUAL 28 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -111,7 +111,6 @@ def __init__(self): | |||
| 111 | 111 | self._atom_dispatch = {token.LPAR: self.atom_lpar, | |
| 112 | 112 | token.LSQB: self.atom_lsqb, | |
| 113 | 113 | token.LBRACE: self.atom_lbrace, | |
| 114 | - token.BACKQUOTE: self.atom_backquote, | ||
| 115 | 114 | token.NUMBER: self.atom_number, | |
| 116 | 115 | token.STRING: self.atom_string, | |
| 117 | 116 | token.NAME: self.atom_name, | |
@@ -740,9 +739,6 @@ def atom_lbrace(self, nodelist): | |||
| 740 | 739 | return Dict((), lineno=nodelist[0][2]) | |
| 741 | 740 | return self.com_dictsetmaker(nodelist[1]) | |
| 742 | 741 | ||
| 743 | - def atom_backquote(self, nodelist): | ||
| 744 | - return Backquote(self.com_node(nodelist[1])) | ||
| 745 | - | ||
| 746 | 742 | def atom_number(self, nodelist): | |
| 747 | 743 | ### need to verify this matches compile.c | |
| 748 | 744 | k = eval(nodelist[0][1]) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1564,7 +1564,7 @@ class Helper: | |||
| 1564 | 1564 | 'CLASSES': ('ref/types', 'class SPECIALMETHODS PRIVATENAMES'), | |
| 1565 | 1565 | 'MODULES': ('lib/typesmodules', 'import'), | |
| 1566 | 1566 | 'PACKAGES': 'import', | |
| 1567 | - 'EXPRESSIONS': ('ref/summary', 'lambda or and not in is BOOLEAN COMPARISON BITWISE SHIFTING BINARY FORMATTING POWER UNARY ATTRIBUTES SUBSCRIPTS SLICINGS CALLS TUPLES LISTS DICTIONARIES BACKQUOTES'), | ||
| 1567 | + 'EXPRESSIONS': ('ref/summary', 'lambda or and not in is BOOLEAN COMPARISON BITWISE SHIFTING BINARY FORMATTING POWER UNARY ATTRIBUTES SUBSCRIPTS SLICINGS CALLS TUPLES LISTS DICTIONARIES'), | ||
| 1568 | 1568 | 'OPERATORS': 'EXPRESSIONS', | |
| 1569 | 1569 | 'PRECEDENCE': 'EXPRESSIONS', | |
| 1570 | 1570 | 'OBJECTS': ('ref/objects', 'TYPES'), | |
@@ -1587,14 +1587,13 @@ class Helper: | |||
| 1587 | 1587 | 'IDENTIFIERS': ('ref/identifiers', 'keywords SPECIALIDENTIFIERS'), | |
| 1588 | 1588 | 'SPECIALIDENTIFIERS': ('ref/id-classes', ''), | |
| 1589 | 1589 | 'PRIVATENAMES': ('ref/atom-identifiers', ''), | |
| 1590 | - 'LITERALS': ('ref/atom-literals', 'STRINGS BACKQUOTES NUMBERS TUPLELITERALS LISTLITERALS DICTIONARYLITERALS'), | ||
| 1590 | + 'LITERALS': ('ref/atom-literals', 'STRINGS NUMBERS TUPLELITERALS LISTLITERALS DICTIONARYLITERALS'), | ||
| 1591 | 1591 | 'TUPLES': 'SEQUENCES', | |
| 1592 | 1592 | 'TUPLELITERALS': ('ref/exprlists', 'TUPLES LITERALS'), | |
| 1593 | 1593 | 'LISTS': ('lib/typesseq-mutable', 'LISTLITERALS'), | |
| 1594 | 1594 | 'LISTLITERALS': ('ref/lists', 'LISTS LITERALS'), | |
| 1595 | 1595 | 'DICTIONARIES': ('lib/typesmapping', 'DICTIONARYLITERALS'), | |
| 1596 | 1596 | 'DICTIONARYLITERALS': ('ref/dict', 'DICTIONARIES LITERALS'), | |
| 1597 | - 'BACKQUOTES': ('ref/string-conversions', 'repr str STRINGS LITERALS'), | ||
| 1598 | 1597 | 'ATTRIBUTES': ('ref/attribute-references', 'getattr hasattr setattr ATTRIBUTEMETHODS'), | |
| 1599 | 1598 | 'SUBSCRIPTS': ('ref/subscriptions', 'SEQUENCEMETHODS1'), | |
| 1600 | 1599 | 'SLICINGS': ('ref/slicings', 'SEQUENCEMETHODS2'), | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -35,7 +35,6 @@ | |||
| 35 | 35 | EQUAL = 22 | |
| 36 | 36 | DOT = 23 | |
| 37 | 37 | PERCENT = 24 | |
| 38 | - BACKQUOTE = 25 | ||
| 39 | 38 | LBRACE = 26 | |
| 40 | 39 | RBRACE = 27 | |
| 41 | 40 | EQEQUAL = 28 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2404,11 +2404,6 @@ validate_atom(node *tree) | |||
| 2404 | 2404 | if (res && (nch == 3)) | |
| 2405 | 2405 | res = validate_dictmaker(CHILD(tree, 1)); | |
| 2406 | 2406 | break; | |
| 2407 | - case BACKQUOTE: | ||
| 2408 | - res = ((nch == 3) | ||
| 2409 | - && validate_testlist1(CHILD(tree, 1)) | ||
| 2410 | - && validate_ntype(CHILD(tree, 2), BACKQUOTE)); | ||
| 2411 | - break; | ||
| 2412 | 2407 | case NAME: | |
| 2413 | 2408 | case NUMBER: | |
| 2414 | 2409 | res = (nch == 1); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments