On Wed, 08 May 2013 16:20:48 -0400, 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.

I wouldn't use an apostrophe for pluralisation.

The Normal pluralisation of FooEntry would be FooEntries. Who are you 
expecting to read the docstring? English majors, grammar nazis, wikipedia 
editors, programmers, or all 4?

-- 
Denis McMahon, denismfmcma...@gmail.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to