代碼片段來自Python Tornado框架。給出以下定義,如何理解函數調用。如何使用下面的代碼示例瞭解python dict
定義:
class Application(object):
def __init__(self, handlers=None, default_host="", transforms=None, wsgi=False, **settings):
...
函數調用:
Application([(r'/user/(.*)', ProfileHandler, dict(database=database)),])