Inheritance diagram for IPython.kernel.core.message_cache:
Storage for the responses from the interpreter.
Bases: object
Storage for the response from the interpreter.
Add a message dictionary to the cache.
| Parameters: | i : int message : dict |
|---|
Get the message from the cache.
| Parameters: | i : int, optional
|
|---|---|
| Returns: | message : dict |
| Raises: | IndexError if the message does not exist in the cache. : |
Bases: object
Simple dictionary-based, in-memory storage of the responses from the interpreter.
Add a message dictionary to the cache.
| Parameters: | i : int message : dict |
|---|
Get the message from the cache.
| Parameters: | i : int, optional
|
|---|---|
| Returns: | message : dict |
| Raises: | IndexError if the message does not exist in the cache. : |