Style question -- plural of class name?

Cameron Simpson cs at zip.com.au
Wed May 8 20:42:44 EDT 2013


On 09May2013 00:02, Steven D'Aprano <steve+comp.lang.python at 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 at zip.com.au>

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



More information about the Python-list mailing list