Rapptz 00a445310b [commands] Allow for backtracking parsing with typing.Optional
Original code by zephyrkul.

This new parsing mode allows for backtracking in case of failure
when a typing.Union[..., NoneType] or a typing.Optional[...] is used.
This means that if a type would fail to parse, the view is undo'd to
a previous state, passing the default parameter to the callback, and
then continuing on the next parameter as if nothing had happened.
2018-09-23 06:12:26 -04:00
..
2018-01-26 12:46:19 -05:00
2018-06-10 18:16:40 -04:00
2018-09-14 22:55:29 -04:00
2018-09-14 22:55:27 -04:00
2018-09-14 22:55:27 -04:00
2018-08-22 21:06:09 -04:00
2018-08-22 22:01:19 -04:00
2018-01-06 17:23:59 -05:00
2018-09-14 22:55:29 -04:00
2018-09-14 22:55:27 -04:00
2018-09-14 22:55:27 -04:00
2017-01-20 23:19:19 -05:00
2018-02-06 11:19:42 -05:00
2018-08-22 21:43:50 -04:00
2018-09-14 22:55:27 -04:00
2018-09-15 18:28:57 -04:00
2018-09-16 22:46:05 +08:00
2018-09-14 22:55:27 -04:00