"Dr. Arne Babenhauserheide" <arne_...@web.de> writes: >> Today, I decided to start using Python in Org. >> >> (1) I read in "WORG": >> >> :results {output, value}: [...] Value results are the value of the >> last expression evaluated in the code block. Value mode is the default >> (as with other languages). > > In the org-mode documentation I read: > > For languages like Python, an explicit return statement is mandatory when > using ‘:results value’. > https://orgmode.org/manual/Results-of-Evaluation.html > > So I think WORG needs to be fixed. > > Can you send a patch? > https://git.sr.ht/~bzg/worg
Yes, patch would be welcome. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>