@@ -393,7 +393,7 @@ Eventloop integration mechanism
393393CPython / readline
394394------------------
395395
396- The python capi provides a hook, :c:var: `PyOS_InputHook `, to register a
396+ The Python C API provides a hook, :c:var: `PyOS_InputHook `, to register a
397397function to be run "The function will be called when Python's
398398interpreter prompt is about to become idle and wait for user input
399399from the terminal.". This hook can be used to integrate a second
@@ -404,7 +404,7 @@ run the event loop until a key is pressed on stdin.
404404
405405
406406Matplotlib does not currently do any management of
407- :c:var: `PyOS_InputHook ` due to the wide range of ways that matplotlib
407+ :c:var: `PyOS_InputHook ` due to the wide range of ways that Matplotlib
408408is used. This management is left to downstream libraries -- either
409409user code or the shell. Interactive figures, even with matplotlib in
410410'interactive mode', may not work in the vanilla python repl if an
@@ -422,9 +422,9 @@ IPython / prompt toolkit
422422
423423With IPython >= 5.0 IPython has changed from using cpython's readline
424424based prompt to a ``prompt_toolkit `` based prompt. ``prompt_toolkit ``
425- has the same conceptual input hook, which is feed into prompt_toolkit via the
425+ has the same conceptual input hook, which is fed into `` prompt_toolkit `` via the
426426:meth: `IPython.terminal.interactiveshell.TerminalInteractiveShell.inputhook `
427- method. The source for the prompt_toolkit input hooks lives at
427+ method. The source for the `` prompt_toolkit `` input hooks lives at
428428:mod: `IPython.terminal.pt_inputhooks `
429429
430430
0 commit comments