diff options
author | Jack Kamm <jackkamm@gmail.com> | 2020-02-22 09:37:33 -0800 |
---|---|---|
committer | Jack Kamm <jackkamm@gmail.com> | 2020-02-22 09:37:33 -0800 |
commit | 194a85d6899d6eed61b414d512006e0f1b5a6046 (patch) | |
tree | 122d4e347020ce823be41b8e30d36338e0a44aa4 | |
parent | 42ec2462a07f3f423f026d918eaf3934592537e7 (diff) | |
download | org-mode-194a85d6899d6eed61b414d512006e0f1b5a6046.tar.gz |
org-manual.org: Remove outdated information about ob-python results
* doc/org-manual.org (Results of Evaluation): Remove incorrect
information about how python session blocks extract results (outdated
since cc89d5523), and about how python session output differs from
non-session output (the examples no longer differ since b506bb68d).
-rw-r--r-- | doc/org-manual.org | 38 |
1 files changed, 1 insertions, 37 deletions
diff --git a/doc/org-manual.org b/doc/org-manual.org index ec9a222..35dd229 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -17287,8 +17287,7 @@ they are mutually exclusive. interactive Emacs inferior process. Org gets the value from the source code interpreter's last statement output. Org has to use language-specific methods to obtain the value. For example, from - the variable ~_~ in Python and Ruby, and the value of ~.Last.value~ - in R. + the variable ~_~ in Ruby, and the value of ~.Last.value~ in R. - =output= :: @@ -17300,41 +17299,6 @@ they are mutually exclusive. as an interactive Emacs inferior process. Org concatenates any text output from the interpreter and returns the collection as a result. - Note that this collection is not the same as that would be collected - from stdout of a non-interactive interpreter running as an external - process. Compare for example these two blocks: - - #+begin_example - ,#+BEGIN_SRC python :results output - print "hello" - 2 - print "bye" - ,#+END_SRC - - ,#+RESULTS: - : hello - : bye - #+end_example - - In the above non-session mode, the "2" is not printed; so it does - not appear in results. - - #+begin_example - ,#+BEGIN_SRC python :results output :session - print "hello" - 2 - print "bye" - ,#+END_SRC - - ,#+RESULTS: - : hello - : 2 - : bye - #+end_example - - In the above session, the interactive interpreter receives and - prints "2". Results show that. - *** Type :PROPERTIES: :UNNUMBERED: notoc |