Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #24384 > unrolled thread

Re: Why are these files names started with underscore?

Started byChris Angelico <rosuav@gmail.com>
First post2012-06-24 18:55 +1000
Last post2012-06-24 18:55 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Why are these files names started with underscore? Chris Angelico <rosuav@gmail.com> - 2012-06-24 18:55 +1000

#24384 — Re: Why are these files names started with underscore?

FromChris Angelico <rosuav@gmail.com>
Date2012-06-24 18:55 +1000
SubjectRe: Why are these files names started with underscore?
Message-ID<mailman.1448.1340528132.4697.python-list@python.org>
On Sun, Jun 24, 2012 at 6:42 PM, gmspro <gmspro@yahoo.com> wrote:
>
> Hi,
>
> I see there are some files here started with underscore(_) , is there any
> convention of something for it?
>
> Is there any convention or something?

They're private implementations of public APIs. You can ignore them as
implementation details.

For using Python, I strongly recommend reading the docs, not the
source. Among other things, that'll help you avoid the trap of writing
to a CPython implementation detail.

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web