12061b8bb1
Something like: @cmdutils.argument('foo', choices=['one', 'two']) def func(foo): # ... didn't actually validate the foo argument, since the inferred type of the argument is None, and that skipped all conversion (and thus validation). Fixes #1871 See #1885 |
||
---|---|---|
.. | ||
browser | ||
commands | ||
completion | ||
config | ||
javascript | ||
keyinput | ||
mainwindow | ||
misc | ||
scripts | ||
utils | ||
test_app.py |