~pythonregexp2.7/python/issue2636-01+09-02

« back to all changes in this revision

Viewing changes to Demo/parser/unparse.py

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-22 00:16:16 UTC
  • mfrom: (39022.1.34 Regexp-2.7)
  • Revision ID: darklord@timehorse.com-20080922001616-p1wdip9lfp0zl5cu
Merged in changes from the Atomic Grouping / Possessive Qualifiers branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
196
196
        self.dispatch(t.finalbody)
197
197
        self.leave()
198
198
 
199
 
    def _excepthandler(self, t):
 
199
    def _ExceptHandler(self, t):
200
200
        self.fill("except")
201
201
        if t.type:
202
202
            self.write(" ")
223
223
 
224
224
    def _FunctionDef(self, t):
225
225
        self.write("\n")
226
 
        for deco in t.decorators:
 
226
        for deco in t.decorator_list:
227
227
            self.fill("@")
228
228
            self.dispatch(deco)
229
229
        self.fill("def "+t.name + "(")