From 02bf38cb21b47f768973f81aa556140a36822811 2021-06-02 00:13:45 From: Krzysztof Cybulski Date: 2021-06-02 00:13:45 Subject: [PATCH] Fix typo in IPython.lib.pretty._seq_pprinter_factory doc The docstring stated _seq_pprinter_factory is used for the default pprint for dicts, but dicts use _dict_pprinter_factory instead. --- diff --git a/IPython/lib/pretty.py b/IPython/lib/pretty.py index 921c19d..7a18f01 100644 --- a/IPython/lib/pretty.py +++ b/IPython/lib/pretty.py @@ -626,7 +626,7 @@ def _default_pprint(obj, p, cycle): def _seq_pprinter_factory(start, end): """ Factory that returns a pprint function useful for sequences. Used by - the default pprint for tuples, dicts, and lists. + the default pprint for tuples and lists. """ def inner(obj, p, cycle): if cycle: