Added .save_as, .as_obj, doctest

This commit is contained in:
2015-06-19 16:19:47 +05:30
parent 405edaaa1d
commit 0dfb09527b
6 changed files with 378 additions and 135 deletions
+21 -3
View File
@@ -95,11 +95,29 @@ IDEAS TO DO
add more debug info
debug info or raise custom exception
allow matches to store in var
better __repr__ print
allow matches to store in var (done)
add __mult__ alternative to .times (done)
what about dict and object? (dicts ok, )
what about dict ? (dicts ok, )
maybe dict to obj?
maybe dict to obj? (done)
save_as in multimatch with list behaviour(done)
Any and OR save_as (done)
test if data == Multi branch, raise error doesnt break anything
more docs
test integration save_as and times
do smart .times for single value
allow Any with a module.Class(Any), which allows only object - Any
more doctest for other methods and helpers
test helpers