Hide deprecated methods from tab completion

Posted by Morgoth on Stack Overflow See other posts from Stack Overflow or by Morgoth
Published on 2010-03-28T00:35:05Z Indexed on 2010/03/28 0:43 UTC
Read the original article Hit count: 431

Filed under:

I would like to control which methods appear when a user uses tab-completion on a custom object in ipython - in particular, I want to hide functions that I have deprecated. I still want these methods to be callable, but I don't want users to see them and start using them if they are inspecting the object. Is this something that is possible?

© Stack Overflow or respective owner

Related posts about python