Change default n value in ein:kernel-history-request

This commit is contained in:
Takafumi Arakaki 2012-09-08 00:04:08 +02:00
parent 6075690e27
commit d10565b052

View file

@ -415,7 +415,7 @@ http://ipython.org/ipython-doc/dev/development/messaging.html#complete
session session
start start
stop stop
(n 1) (n 10)
pattern) pattern)
"Request execution history to KERNEL. "Request execution history to KERNEL.
@ -431,6 +431,11 @@ CONTENT and METADATA are given by `history_reply' message.
`history_reply' message is documented here: `history_reply' message is documented here:
http://ipython.org/ipython-doc/dev/development/messaging.html#history http://ipython.org/ipython-doc/dev/development/messaging.html#history
Relevant Python code:
* :py:method:`IPython.zmq.ipkernel.Kernel.history_request`
* :py:class:`IPython.core.history.HistoryAccessor`
" "
(assert (ein:kernel-live-p kernel) nil "Kernel is not active.") (assert (ein:kernel-live-p kernel) nil "Kernel is not active.")
(let* ((content (list (let* ((content (list