From 1370018ac3f96a5a04d119afa95d482a7504119e 2015-12-17 02:37:59 From: Anthony Sottile Date: 2015-12-17 02:37:59 Subject: [PATCH] Remove mention of Traits (removed in e1ced0b3) --- diff --git a/IPython/utils/dir2.py b/IPython/utils/dir2.py index 5fb9fd1..50c660a 100644 --- a/IPython/utils/dir2.py +++ b/IPython/utils/dir2.py @@ -34,7 +34,7 @@ def dir2(obj): """dir2(obj) -> list of strings Extended version of the Python builtin dir(), which does a few extra - checks, and handles Traits objects, which can confuse dir(). + checks. This version is guaranteed to return only a list of true strings, whereas dir() returns anything that objects inject into themselves, even if they