Mercurial > pytave
comparison pyeval.cc @ 428:3af3665348a1
Also update doctests in compiled functions
* pycall.cc, pyeval.cc, pyexec.cc: Update doctests.
* @pyobject/dummy.m, @pyobject/cell.m: Use FIXME and https in comments.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Thu, 22 Feb 2018 15:55:15 -0800 |
parents | 6b9de18b4bdd |
children |
comparison
equal
deleted
inserted
replaced
427:750a86973625 | 428:3af3665348a1 |
---|---|
49 @group\n\ | 49 @group\n\ |
50 pyexec (\"import sys\")\n\ | 50 pyexec (\"import sys\")\n\ |
51 pyeval (\"sys.version\")\n\ | 51 pyeval (\"sys.version\")\n\ |
52 @result{} ...\n\ | 52 @result{} ...\n\ |
53 pyeval (\"dict(two=2)\")\n\ | 53 pyeval (\"dict(two=2)\")\n\ |
54 @result{} [pyobject ...]\n\ | 54 @result{} [Python object of type dict]\n\ |
55 @{'two': 2@}\n\ | 55 @{'two': 2@}\n\ |
56 @end group\n\ | 56 @end group\n\ |
57 @end example\n\ | 57 @end example\n\ |
58 @seealso{pycall, pyexec}\n\ | 58 @seealso{pycall, pyexec}\n\ |
59 @end deftypefn") | 59 @end deftypefn") |