[IPython-user] Printing the doc of the class object instead of the object instance

Fernando Perez Fernando.Perez at colorado.edu
Mon Jun 26 14:54:43 CDT 2006

[ David, you need to subscribe to ipython-user with this email, all your 
messages are bouncing. ]

Says David:

Is there a reason why
l = [a,b,c]
l[0]. [tab]
won't work,

or is it just not yet implemented ?

My reply:

It was removed from ipython a long time ago, because focing an item access 
upon tab-completion will consume generators, so it can NOT be re-enabled.  We 
basically can't do ANY item access with [], because objects like generators 
will change their state from the tab-completion action alone.  This has caused 
a number of nasty bugs in the past in people's codes, so it is permanently 



More information about the IPython-user mailing list