diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-06-30 09:14:43 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-06-30 09:14:43 (GMT) |
commit | af0e1544bfce6ea500672d2140c88ad351a73c5e (patch) | |
tree | 1845e83e207981a5111b5791b317bae2679257cd | |
parent | b67e15c53c0979beadd47ab62168a18fda5d75a1 (diff) | |
download | cpython-af0e1544bfce6ea500672d2140c88ad351a73c5e.zip cpython-af0e1544bfce6ea500672d2140c88ad351a73c5e.tar.gz cpython-af0e1544bfce6ea500672d2140c88ad351a73c5e.tar.bz2 |
Remove backtick syntax for repr.
-rw-r--r-- | Demo/parser/unparse.py | 5 |
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 |