public¶
- emlib.misc.public(f)[source]¶
decorator - keeps __all__ updated
NB: it has no performance penalty at runtime since the decorator just returns the passed function
Based on an idea by Duncan Booth: http://groups.google.com/group/comp.lang.python/msg/11cbb03e09611b8a
Improved via a suggestion by Dave Angel: http://groups.google.com/group/comp.lang.python/msg/3d400fb22d8a42e1