summaryrefslogtreecommitdiffstats
path: root/Demo
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-06-30 09:14:43 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-06-30 09:14:43 (GMT)
commitaf0e1544bfce6ea500672d2140c88ad351a73c5e (patch)
tree1845e83e207981a5111b5791b317bae2679257cd /Demo
parentb67e15c53c0979beadd47ab62168a18fda5d75a1 (diff)
downloadcpython-af0e1544bfce6ea500672d2140c88ad351a73c5e.zip
cpython-af0e1544bfce6ea500672d2140c88ad351a73c5e.tar.gz
cpython-af0e1544bfce6ea500672d2140c88ad351a73c5e.tar.bz2
Remove backtick syntax for repr.
Diffstat (limited to 'Demo')
-rw-r--r--Demo/parser/unparse.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/Demo/parser/unparse.py b/Demo/parser/unparse.py
index b37eb82..e1c2719 100644
--- a/Demo/parser/unparse.py
+++ b/Demo/parser/unparse.py
@@ -310,11 +310,6 @@ class Unparser:
def _Name(self, t):
self.write(t.id)
- def _Repr(self, t):
- self.write("`")
- self.dispatch(t.value)
- self.write("`")
-
def _Num(self, t):
if isinstance(t.n, float) and math.isinf(t.n):
# Subsitute overflowing decimal literal for AST infinity