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


Groups > comp.lang.python > #44986

Re: Style question -- plural of class name?

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <cameron@cskk.homeip.net>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject: -- ': 0.07; 'variant': 0.09; 'subject:question': 0.10; 'cc:addr:python-list': 0.11; '"here': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'message- id:@cskk.homeip.net': 0.16; 'officer.': 0.16; 'received:211.29': 0.16; 'received:211.29.132': 0.16; 'received:optusnet.com.au': 0.16; 'received:syd.optusnet.com.au': 0.16; 'roy': 0.16; 'simpson': 0.16; 'subject:class': 0.16; 'to:addr:pearwood.info': 0.16; 'to:addr:steve+comp.lang.python': 0.16; "to:name:steven d'aprano": 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'cc:addr:python.org': 0.22; 'header:User-Agent:1': 0.23; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply- To:1': 0.27; "d'aprano": 0.31; 'letter.': 0.31; 'steven': 0.31; 'this.': 0.32; 'acceptable': 0.36; 'in.': 0.36; 'received:com.au': 0.36; 'charset:us-ascii': 0.36; 'subject:?': 0.36; 'two': 0.37; 'list': 0.37; 'being': 0.38; 'thank': 0.38; 'e.g.': 0.38; 'received:211': 0.38; 'little': 0.38; 'called': 0.40; 'how': 0.40; 'even': 0.60; 'matter': 0.61; 'you.': 0.62; 'content- disposition:inline': 0.62; 'yes': 0.68; 'smith': 0.68; '"one': 0.84; 'universally': 0.84; '2013': 0.98
Date Thu, 9 May 2013 10:42:44 +1000
From Cameron Simpson <cs@zip.com.au>
To "Steven D'Aprano" <steve+comp.lang.python@pearwood.info>
Subject Re: Style question -- plural of class name?
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <518ae78a$0$29997$c3e8da3$5496439d@news.astraweb.com>
User-Agent Mutt/1.5.21 (2010-09-15)
References <518ae78a$0$29997$c3e8da3$5496439d@news.astraweb.com>
X-Optus-CM-Score 0
X-Optus-CM-Analysis v=2.0 cv=BPvrNysG c=1 sm=1 a=wom5GMh1gUkA:10 a=jOD8RLkUQ2QA:10 a=kj9zAlcOel0A:10 a=vrnE16BAAAAA:8 a=ZtCCktOnAAAA:8 a=zyUj_AEMizEA:10 a=kZ7UWmmPAAAA:8 a=nF9li_IFSCFdfQjJAOIA:9 a=CjuIK1q_8ugA:10 a=pyH5b1fOeEsA:10 a=ChdAjXE5lkUvdteQbhpnkQ==:117
Cc python-list@python.org
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.1472.1368060520.3114.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1368060520 news.xs4all.nl 15924 [2001:888:2000:d::a6]:60484
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:44986

Show key headers only | View raw


On 09May2013 00:02, Steven D'Aprano <steve+comp.lang.python@pearwood.info> wrote:
| On Wed, 08 May 2013 16:20:48 -0400, Roy Smith wrote:
| > "A list of FooEntry's"
| 
| "Here come's an S! Quick, jam on an apostrophe!"
| 
| This is called the grocer's apostrophe, and is universally held in 
| contempt no matter what variant of English you write in. Don't do this.
| 
| The only acceptable use of an apostrophe to make a plural is if the thing 
| being pluralised is a single letter. E.g. one a, two a's.

Frankly, not even then for me. I spell that "one A, two As".

| > "A list of FooEntry instances"
| 
| This is also acceptable, although a little wordy. Do you write "a list of 
| strings" or "a list of str instances"?

How about "a FooEntry list"?
-- 
Cameron Simpson <cs@zip.com.au>

Yes Officer, yes Officer, I will Officer. Thank you.

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