Style question -- plural of class name?

Colin J. Williams cjw at ncf.ca
Wed May 8 20:38:36 EDT 2013


On 08/05/2013 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"  0
>
> "A list of FooEntrys"   -1
>
> "A list of FooEntry's"  +1
>
> "A list of FooEntry instances"  No FooEntry is specified as a class.
>
> The first one certainly sounds the best, but it seems wierd to change
> the spelling of the class name to make it plural.
>

Colin W.



More information about the Python-list mailing list