Am 09.05.2013 02:38 schrieb Colin J. Williams:
On 08/05/2013 4:20 PM, Roy Smith wrote:
A list of FooEntry's +1
Go back to school. Both of you...
That is NOT the way to build a plural form...
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
On 2013-05-08, Denis McMahon denismfmcma...@gmail.com wrote:
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
Neil Cerutti writes:
If there's no chance for confusion between a class named FooEntry
and another named FooEntries, then the first attempt seems best.
Pluralize a class name by following the usual rules, e.g.,
strings and ints.
Like strings would be foo entries. Which might work well.
(I
On 2013-05-09, Jussi Piitulainen jpiit...@ling.helsinki.fi wrote:
Neil Cerutti writes:
If there's no chance for confusion between a class named
FooEntry and another named FooEntries, then the first attempt
seems best. Pluralize a class name by following the usual
rules, e.g., strings and
On 2013-05-08 21:20, 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
This one:
A list of FooEntry instances
Besides the obvious spelling issues in the others, it's not
immediately clear if the list contains just FooEntry instances,
FooEntry classes (perhaps subclasses) or a mix of the two. #4 makes
it clear.
Skip
--
On Wed, May 8, 2013 at 4:20 PM, Roy Smith r...@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
On Wed, May 8, 2013 at 2:37 PM, John Downs john.a.do...@gmail.com wrote:
On Wed, May 8, 2013 at 4:20 PM, Roy Smith r...@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
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
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?
Which language are you writing your docstrings in? Obey the normal rules
of spelling, grammar and punctuation for your language, which I assume is
English.
A
On Thu, May 9, 2013 at 6:20 AM, Roy Smith r...@panix.com wrote:
A list of FooEntry's
Only if you put another apostrophe in:
A list of 'FooEntry's
But the delimited style is almost never of use. I'd go for this only
if there were some sort of automated markup being applied - if the
word
On Wed, 08 May 2013 15:33:07 -0500, Skip Montanaro wrote:
This one:
A list of FooEntry instances
Besides the obvious spelling issues in the others, it's not immediately
clear if the list contains just FooEntry instances, FooEntry classes
(perhaps subclasses) or a mix of the two. #4
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
On 09May2013 00:02, Steven D'Aprano steve+comp.lang.pyt...@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
14 matches
Mail list logo