[IPython-user] Request for a magic function to hide private function in tab completion
Fri May 22 09:32:41 CDT 2009
Wouldn't this be destructive to general use of the IPython?
Say we type 5 and a "." (dot) following 5 and hit tab all the helpers are in
type of private. Of course this is just a simple example, who needs
__mul__() while there is "*". I am sure many base types have only helpers of
There is a section in IPython documentation regarding to defining your own
magic functions. (Magic command system)
On Fri, May 22, 2009 at 5:03 AM, Wong, Shin Guey
> Is it possible to add a magic function like %hideprivate so it will hide
> all private function in python code completion.
> All the function name start with _ or __ like <__file__ , _name> will not
> show when user press <tab> completion.
> Or maybe can somebody provide hint on:
> 1. how to add new magic function
> 2. how to modify the code completion
> Shin Guey
> IPython-user mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-user