n00b question on spacing

Terry Reedy tjreedy at udel.edu
Sun Jun 23 11:40:37 EDT 2013


On 6/22/2013 9:20 PM, MRAB wrote:

> [snip]
> One vs not-one isn't good enough. Some languages use the singular with
> any numbers ending in '1'. Some languages have singular, dual, and
> plural. Etc. It's surprising how inventive people can be! :-)

In the Idle output window for file grepping, I just changed the summary 
line 'Found %d hit%s' to 'Hits found: %d' to avoid the pluralization 
problem (even though the language is just English for now).

-- 
Terry Jan Reedy




More information about the Python-list mailing list