There is some part of code.
application = webapp2.WSGIApplication([
('/', MainPage),
('/gbook', Guestbook)
])
As I understand it is a list of tuples:
[('/', MainPage), ('/gbook', Guestbook)]
Correct me please if I'm wrong.
And I have question: Where is obvious creation of instance of MainPage class and Guestbook?
Something like that: x = MainPage('/')
If this happens by this tuple ('/', MainPage), then my question: how it's happens?
I need some explanation.