Pythonic: Difference between revisions

Jump to navigation Jump to search
152 bytes added ,  18 May 2016
some notes on interface
(pyeval should return pyobj)
(some notes on interface)
Line 133: Line 133:
====== Interface design ======
====== Interface design ======


{{Codeline|pyeval}} should be modified to return a {{Codeline|@pyobj}} for things that it cannot convert to Octave-native types.
* {{Codeline|pyeval}} should be modified to return a {{Codeline|@pyobj}} for things that it cannot convert to Octave-native types.  See the `networkx` example above: `G` could be returned by `pyeval`.
 
* {{Codeline|@pyobj/pyobj}} constructor would not normally be called by users.
110

edits

Navigation menu