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(