Mercurial > pytave
changeset 228:2a9956be24aa
maint: update pycall doc string examples to reflect recent changes
* pycall.cc (Fpycall): Update doc string examples to reflect recent changes
and pass using doctest.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Wed, 20 Jul 2016 12:18:22 -0700 |
parents | c56b85f405ba |
children | d51b3d120c85 |
files | pycall.cc |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/pycall.cc Wed Jul 20 11:57:14 2016 -0700 +++ b/pycall.cc Wed Jul 20 12:18:22 2016 -0700 @@ -47,12 +47,12 @@ Examples:\n\ @example\n\ @group\n\ -pycall (\"__builtin__.int\", 6)\n\ +pycall (\"int\", 6)\n\ @result{} 6\n\ pycall (\"os.getuid\")\n\ @result{} ...\n\ -pycall (\"__builtin__.eval\", \"4+5\")\n\ - @result{} 9\n\ +pycall (\"math.sqrt\", 2)\n\ + @result{} 1.4142\n\ @end group\n\ @end example\n\ @seealso{pyeval, pyexec}\n\