Style question -- plural of class name?

Ian Kelly ian.g.kelly at gmail.com
Wed May 8 16:45:14 EDT 2013


On Wed, May 8, 2013 at 2:37 PM, John Downs <john.a.downs at gmail.com> wrote:
> On Wed, May 8, 2013 at 4:20 PM, Roy Smith <roy at panix.com> 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.
>> --
>> http://mail.python.org/mailman/listinfo/python-list
>
>
> How about: "A list with elements of type FooEntry"?  I also like the last
> one: "A list of FooEntry instances".

list<FooEntry>

*ducks*



More information about the Python-list mailing list