comparison MoinMoin/app.py @ 50:8102f92d21b8

docstrings: fix some rst markup warnings of sphinx
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 01 Mar 2011 17:34:56 +0100
parents 1d8e9b1153d6
children 8a5be4814a48
comparison
equal deleted inserted replaced
49:5ac57ba008b5 50:8102f92d21b8
54 otherwise it'll use MOINCFG from flask config. If that 54 otherwise it'll use MOINCFG from flask config. If that
55 also is not there, it'll use the DefaultConfig built 55 also is not there, it'll use the DefaultConfig built
56 into MoinMoin. 56 into MoinMoin.
57 :param warn_default: emit a warning if moin falls back to its builtin default 57 :param warn_default: emit a warning if moin falls back to its builtin default
58 config (maybe user forgot to specify MOINCFG?) 58 config (maybe user forgot to specify MOINCFG?)
59 :param **kwargs: if you give additional key/values here, they'll get patched 59 :param kwargs: if you give additional keyword args, the keys/values will get patched
60 into the moin configuration class (before it instance is created) 60 into the moin configuration class (before its instance is created)
61 """ 61 """
62 clock = Clock() 62 clock = Clock()
63 clock.start('create_app total') 63 clock.start('create_app total')
64 app = Flask('MoinMoin') 64 app = Flask('MoinMoin')
65 clock.start('create_app load config') 65 clock.start('create_app load config')