Mercurial > pytave
diff pyargs.m @ 427:750a86973625
Update doctests for display changes
The output of display was recently improved by commit
24546b7021db2ab2553357f691450144c6c5ab50 but the doctests were
not updated.
* @pyobject/dummy.m, @pyobject/cell.m, @pyobject/display.m: update doctests.
* pyargs.m: update doctests.
author | Colin Macdonald <cbm@m.fsf.org> |
---|---|
date | Wed, 25 Oct 2017 13:16:53 -0700 |
parents | 087e7bc3697f |
children |
line wrap: on
line diff
--- a/pyargs.m Wed Feb 21 16:12:39 2018 -0800 +++ b/pyargs.m Wed Oct 25 13:16:53 2017 -0700 @@ -30,7 +30,7 @@ ## @example ## @group ## py.dict (pyargs ("one", 1, "two", 2)) -## @result{} [pyobject ...] +## @result{} [Python object of type dict] ## @{...@} ## sort (cellfun (@@char, cell (py.list (ans.keys ())), "uniformoutput", false)) ## @result{} @@ -48,7 +48,7 @@ ## x = py.list (num2cell (int32 ([1, 2, 3]))); ## x.sort (pyargs ("reverse", true)); ## x -## @result{} x = [pyobject ...] +## @result{} x = [Python object of type list] ## [3, 2, 1] ## @end group ## @end example