[IPython-User] [IPython-user] Simple problem with ??

PeterL777 pacqa100@yahoo.com...
Tue Sep 14 05:02:19 CDT 2010


Hi
I'm using IPython 0.10 on WinXP32.
>From how I read it, ? and ?? do similar things, and they do the same at the
beginning or end.
But this is what I'm getting:

In [1]: a=range(10)
In [2]: a?
Type:           list
Base Class:     <type 'list'>
String Form:    [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
Namespace:      Interactive
Length:         10
Docstring:
    list() -> new list
list(sequence) -> new list initialized from sequence's items

In [3]: ?a
(same)

In [4]: a??
(same)

In [5]: ??a
------------------------------------
   File "<ipython console>", line 1
     ??a
     ^
SyntaxError: invalid syntax

Is this a bug?
Thanks
Peter
-- 
View this message in context: http://old.nabble.com/Simple-problem-with----tp29706927p29706927.html
Sent from the IPython - User mailing list archive at Nabble.com.



More information about the IPython-User mailing list