[Python-checkins] r82387 - python/branches/py3k/Demo/parser/unparse.py

mark.dickinson python-checkins at python.org
Wed Jun 30 11:14:43 CEST 2010


Author: mark.dickinson
Date: Wed Jun 30 11:14:43 2010
New Revision: 82387

Log:
Remove backtick syntax for repr.

Modified:
   python/branches/py3k/Demo/parser/unparse.py

Modified: python/branches/py3k/Demo/parser/unparse.py
==============================================================================
--- python/branches/py3k/Demo/parser/unparse.py	(original)
+++ python/branches/py3k/Demo/parser/unparse.py	Wed Jun 30 11:14:43 2010
@@ -310,11 +310,6 @@
     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


More information about the Python-checkins mailing list