From 112e5968ed00432584dac5dc31c2311d50506f19 2024-01-19 14:54:13 From: M Bussonnier Date: 2024-01-19 14:54:13 Subject: [PATCH] Fix bug where extra mimekey would drop the full bundle. (#14301) --- diff --git a/IPython/core/oinspect.py b/IPython/core/oinspect.py index 97dae54..9eecf29 100644 --- a/IPython/core/oinspect.py +++ b/IPython/core/oinspect.py @@ -634,7 +634,7 @@ class Inspector(Colorable): if k in ("text/html", "text/plain"): continue else: - new_b = bundle[k] # type:ignore + new_b[k] = bundle[k] # type:ignore return new_b def _append_info_field(