Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.034 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'subject: -- ': 0.07; 'spelling': 0.09; 'subject:question': 0.10; 'roy': 0.16; 'subject:class': 0.16; '\xc2\xa0i': 0.16; 'elements': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'seems': 0.21; 'certainly': 0.24; 'class.': 0.26; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'class': 0.32; 'url:python': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'url:listinfo': 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'list': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'how': 0.40; 'first': 0.61; 'name': 0.63; 'smith': 0.68; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=lcV3kPxQd6aYYpe9gvCYAGhLITGpfnmWU87Aa/G9lmI=; b=aAGqomEvb+mocB4Nez28g6E2OVV7XN8M05RtgpTsuCGKFjZ80DEABtEq18dlSIJ+py 2lDj1/LjY2BRRYmrDqOefwKMikzQIN/p08jSCiSdRcl4ixg6DGyRwO88fbQWPF8JN+Qa IfidULMrJq8aDcKlTz99VyWoy61Yc0gcXbm8PqTtYCs/k5XTIlSUVI31UYBzw6kkIxFx jsG61Ic702jpYTfC48n+uJOPcmfjzcJ0IJ2kwruCpKw3kd2ZGvGnUycGPmjQ8Uln6kfp I0m2CvKVDFBrjbyGz3ooC9baIvM1SOQ/H7y1xR6XzVvw1dl+PDMyTY+ry8nKo8gQmijv a+3A== X-Received: by 10.182.250.132 with SMTP id zc4mr2714593obc.71.1368045445081; Wed, 08 May 2013 13:37:25 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: John Downs Date: Wed, 8 May 2013 16:37:05 -0400 Subject: Re: Style question -- plural of class name? To: python-list@python.org Content-Type: multipart/alternative; boundary=089e01536b5cca72a204dc3ae6d5 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 56 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1368045454 news.xs4all.nl 15940 [2001:888:2000:d::a6]:36908 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:44966 --089e01536b5cca72a204dc3ae6d5 Content-Type: text/plain; charset=UTF-8 On Wed, May 8, 2013 at 4:20 PM, Roy Smith wrote: > FooEntry is a class. How would you describe a list of these in a > docstring? > > "A list of FooEntries" > > "A list of FooEntrys" > > "A list of FooEntry's" > > "A list of FooEntry instances" > > The first one certainly sounds the best, but it seems wierd to change > the spelling of the class name to make it plural. > -- > http://mail.python.org/mailman/listinfo/python-list > How about: "A list with elements of type FooEntry"? I also like the last one: "A list of FooEntry instances". --089e01536b5cca72a204dc3ae6d5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Wed, May 8, 2013 at 4:20 PM, Roy Smith <roy@panix.com&= gt; wrote:
=
FooEntry is a class. =C2=A0How would you describe a list of these in a
docstring?

"A list of FooEntries"

"A list of FooEntrys"

"A list of FooEntry's"

"A list of FooEntry instances"

The first one certainly sounds the best, but it seems wierd to change
the spelling of the class name to make it plural.
--
http://mail.python.org/mailman/listinfo/python-list

How about: "A list with elements of type FooEntry"? =C2=A0I also= like the last one: "A list of FooEntry instances".
--089e01536b5cca72a204dc3ae6d5--