]> git.ipfire.org Git - thirdparty/tornado.git/commit
Add an initialize() method to RequestHandler for use by subclasses.
authorBen Darnell <bdarnell@beaker.local>
Mon, 26 Jul 2010 19:04:00 +0000 (12:04 -0700)
committerBen Darnell <bdarnell@beaker.local>
Mon, 26 Jul 2010 19:04:00 +0000 (12:04 -0700)
commit83864d60198c001cbe53fad657a42c2a7777ad1b
tree5f0464b6ffd3715cb1c2de5f33a174a6aa139c41
parentdbfdf46c94dfe0d1900c459b1cdef3f26ba5e5be
Add an initialize() method to RequestHandler for use by subclasses.

This is simpler than overriding __init__ since it doesn't require
knowledge of the application and request arguments that must be
passed through to the superclass's __init__.
tornado/web.py