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


Groups > comp.lang.python > #44975

Re: Style question -- plural of class name?

Path csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.030
X-Spam-Evidence '*H*': 0.95; '*S*': 0.01; 'subject: -- ': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'spelling': 0.09; 'subject:question': 0.10; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:class': 0.16; 'seems': 0.21; 'certainly': 0.24; 'url:home': 0.24; 'class.': 0.26; 'header:X-Complaints-To:1': 0.27; 'class': 0.32; 'but': 0.35; 'charset:us-ascii': 0.36; 'subject:?': 0.36; 'list': 0.37; 'received:76': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'first': 0.61; 'name': 0.63; 'school': 0.64; '(roy': 0.84; 'email addr:panix.com': 0.84; 'smith)': 0.84; '2013': 0.98
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: Style question -- plural of class name?
Date Wed, 08 May 2013 19:45:10 -0400
Organization > Bestiaria Support Staff <
References <kmec30$d12$1@panix2.panix.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host adsl-76-253-111-239.dsl.klmzmi.sbcglobal.net
X-Newsreader Forte Agent 3.3/32.846
X-No-Archive YES
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1466.1368056720.3114.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1368056720 news.xs4all.nl 15891 [2001:888:2000:d::a6]:53010
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:44975

Show key headers only | View raw


On 8 May 2013 16:20:48 -0400, roy@panix.com (Roy Smith) declaimed the
following in gmane.comp.python.general:

> 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.

	A Folly of FooEntry

<G>

(though if one wants to consider "a school of fish", let the class be
its own plural...)
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Style question -- plural of class name? roy@panix.com (Roy Smith) - 2013-05-08 16:20 -0400
  Re: Style question -- plural of class name? Skip Montanaro <skip@pobox.com> - 2013-05-08 15:33 -0500
    Re: Style question -- plural of class name? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-09 00:13 +0000
  Re: Style question -- plural of class name? John Downs <john.a.downs@gmail.com> - 2013-05-08 16:37 -0400
  Re: Style question -- plural of class name? Ian Kelly <ian.g.kelly@gmail.com> - 2013-05-08 14:45 -0600
  Re: Style question -- plural of class name? Denis McMahon <denismfmcmahon@gmail.com> - 2013-05-08 22:40 +0000
    Re: Style question -- plural of class name? Neil Cerutti <neilc@norwich.edu> - 2013-05-09 15:14 +0000
      Re: Style question -- plural of class name? Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2013-05-09 19:43 +0300
        Re: Style question -- plural of class name? Neil Cerutti <neilc@norwich.edu> - 2013-05-09 17:28 +0000
  Re: Style question -- plural of class name? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-05-08 19:45 -0400
  Re: Style question -- plural of class name? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-09 00:02 +0000
    Re: Style question -- plural of class name? Cameron Simpson <cs@zip.com.au> - 2013-05-09 10:42 +1000
  Re: Style question -- plural of class name? Chris Angelico <rosuav@gmail.com> - 2013-05-09 10:12 +1000
  Re: Style question -- plural of class name? "Colin J. Williams" <cjw@ncf.ca> - 2013-05-08 20:38 -0400
    Re: Style question -- plural of class name? Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2013-05-09 12:21 +0200
  Re: Style question -- plural of class name? Robert Kern <robert.kern@gmail.com> - 2013-05-09 18:44 +0100

csiph-web