Ihor Radchenko <yanta...@posteo.net> writes: >> 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.
As Sebastian mentioned, Worg already documents the behavior, under the section "Return values": https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-python.html#org6eb75c6