##// END OF EJS Templates
Fix doctest.
Fernando Perez -
Show More
@@ -416,11 +416,11 b' class ResultNS(object):'
416
416
417 >>> ns = ResultNS({'a':17,'foo':range(3)})
417 >>> ns = ResultNS({'a':17,'foo':range(3)})
418 >>> print ns
418 >>> print ns
419 NS{'a':17,'foo':range(3)}
419 NS{'a': 17, 'foo': [0, 1, 2]}
420 >>> ns.a
420 >>> ns.a
421 17
421 17
422 >>> ns['foo']
422 >>> ns['foo']
423 [0,1,2]
423 [0, 1, 2]
424 """
424 """
425 def __init__(self, dikt):
425 def __init__(self, dikt):
426 for k,v in dikt.iteritems():
426 for k,v in dikt.iteritems():
General Comments 0
You need to be logged in to leave comments. Login now