Kaydet (Commit) 7c972f97 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

get unparse to at least unparse its self

üst 66260995
......@@ -196,7 +196,7 @@ class Unparser:
self.dispatch(t.finalbody)
self.leave()
def _excepthandler(self, t):
def _ExceptHandler(self, t):
self.fill("except")
if t.type:
self.write(" ")
......@@ -223,7 +223,7 @@ class Unparser:
def _FunctionDef(self, t):
self.write("\n")
for deco in t.decorators:
for deco in t.decorator_list:
self.fill("@")
self.dispatch(deco)
self.fill("def "+t.name + "(")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment