From 11c4c1ec4d8520becd518476518660d8a79a2af1 2008-08-02 01:15:14 From: Fernando Perez Date: 2008-08-02 01:15:14 Subject: [PATCH] Fix doctest. --- diff --git a/IPython/kernel/task.py b/IPython/kernel/task.py index 9b6f0ae..5841a0f 100644 --- a/IPython/kernel/task.py +++ b/IPython/kernel/task.py @@ -416,11 +416,11 @@ class ResultNS(object): >>> ns = ResultNS({'a':17,'foo':range(3)}) >>> print ns - NS{'a':17,'foo':range(3)} + NS{'a': 17, 'foo': [0, 1, 2]} >>> ns.a - 17 + 17 >>> ns['foo'] - [0,1,2] + [0, 1, 2] """ def __init__(self, dikt): for k,v in dikt.iteritems():