
ethan at stoneleaf
May 11, 2012, 11:26 AM
Post #3 of 3
(123 views)
Permalink
|
|
Re: __all__, public API, private stuff, and leading _
[In reply to]
|
|
Emile van Sebille wrote: > On 5/11/2012 9:41 AM Ethan Furman said... >> Style question: >> >> Since __all__ (if defined) is the public API, if I am using that should >> I also still use a leading underscore on my private data/functions/etc? > > I would, even if only to alert any future maintainer of the internal vs > exposed nature of things. I find that a persuasive argument, thanks. ~Ethan~ -- http://mail.python.org/mailman/listinfo/python-list
|