Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 896140d commit 11c4c1eCopy full SHA for 11c4c1e
1 file changed
IPython/kernel/task.py
@@ -416,11 +416,11 @@ class ResultNS(object):
416
417
>>> ns = ResultNS({'a':17,'foo':range(3)})
418
>>> print ns
419
- NS{'a':17,'foo':range(3)}
+ NS{'a': 17, 'foo': [0, 1, 2]}
420
>>> ns.a
421
- 17
+ 17
422
>>> ns['foo']
423
- [0,1,2]
+ [0, 1, 2]
424
"""
425
def __init__(self, dikt):
426
for k,v in dikt.iteritems():
0 commit comments