]> granicus.if.org Git - python/commitdiff
Remove backtick syntax for repr.
authorMark Dickinson <dickinsm@gmail.com>
Wed, 30 Jun 2010 09:14:43 +0000 (09:14 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Wed, 30 Jun 2010 09:14:43 +0000 (09:14 +0000)
Demo/parser/unparse.py

index b37eb8281ae65973957393b65cc3561c74d1f908..e1c27192c246ea8047c807ed7394e01af02282aa 100644 (file)
@@ -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