all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#37333: Org-mode python output not working
@ 2019-09-07 17:19 Michael Wu
  2019-12-11 22:39 ` Nicolas Goaziou
  2020-02-17  7:34 ` Bastien
  0 siblings, 2 replies; 4+ messages in thread
From: Michael Wu @ 2019-09-07 17:19 UTC (permalink / raw)
  To: 37333

[-- Attachment #1: Type: text/plain, Size: 381 bytes --]

In the following block:

#+BEGIN_SRC python :results value :session
def f():
    return 5
f()
#+END_SRC

It gives the message

"Code block returned no value"

when trying to run it. This is clearly not intended behavior, as

#+BEGIN_SRC python :results value :session
def f():
    return 5
f()
10
#+END_SRC

#+RESULTS:
: 10

works perfectly fine. Does anyone else have this issue?

[-- Attachment #2: Type: text/html, Size: 622 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-05-22 12:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-07 17:19 bug#37333: Org-mode python output not working Michael Wu
2019-12-11 22:39 ` Nicolas Goaziou
2020-02-17  7:34 ` Bastien
2020-05-22 12:12   ` Bastien

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.