Style question -- plural of class name?
John Downs
john.a.downs at gmail.com
Wed May 8 16:37:05 EDT 2013
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".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130508/3a3bab45/attachment.html>
More information about the Python-list
mailing list