Can someone explain __all__ in Python?

Posted by varikin on Stack Overflow See other posts from Stack Overflow or by varikin
Published on 2008-09-04T21:28:18Z Indexed on 2010/05/15 3:14 UTC
Read the original article Hit count: 263

Filed under:
|

I have been using Python more and more, and I keep seeing the variable __all__ set in different __init__.py files. Can someone explain what this does?

© Stack Overflow or respective owner

Related posts about python

Related posts about syntax