pecan/pecan — comment on commit da61da0d503b64267f4da97be2a34d89c53b7337
File: pecan/decorators.py line 117
By ryanpetrello:

For the purposes of letting others subclassing, you might make this a bit smarter.

Rather than a static tuple, you could inspect the class for members that match the name (e.g., the class actually *has* a member named 'after_%s' % action_type).