[Python-checkins] cpython: Issue #15502: Bring the importlib.PathFinder docs and docstring more in line

Nick Coghlan ncoghlan at gmail.com
Fri Aug 3 07:13:50 CEST 2012


On Fri, Aug 3, 2012 at 12:41 AM, Chris Jerdonek
<chris.jerdonek at gmail.com> wrote:
> On Thu, Aug 2, 2012 at 7:32 AM, Barry Warsaw <barry at python.org> wrote:
>> On Aug 02, 2012, at 03:04 PM, nick.coghlan wrote:
>>
>>>-module.  Specifically, any module that contains an ``__path__`` attribute is
>>>+module.  Specifically, any module that contains a ``__path__`` attribute is
>>
>> I find this change hilarious!  Is it "an under-under path" or "a dunder path"?
>
> Personally, I just say "path" (same with __init__, __main__, etc) and
> rely on context.

Yup. That's why I would write "a __path__ attribute", but "an __init__ method".

If I have to be explicit when speaking, I'll typically say either
"dunder <whatever>" or "double underscore <whatever>". I find that's
only needed if there is a name class between the double underscore
name and a non-prefixed variable though, which doesn't happen very
often.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-checkins mailing list