[Python-Dev] r87389 - in python/branches/py3k: Doc/library/unittest.rst Lib/unittest/case.py Misc/NEWS (original) (raw)

Guido van Rossum guido at python.org
Mon Dec 20 23:29:50 CET 2010


On Mon, Dec 20, 2010 at 1:55 AM, Steven D'Aprano <steve at pearwood.info> wrote:

Antoine Pitrou wrote:

For a non-native English speaker, 'a' and 'b' don't evoke 'after' and 'before' but simply the first two letters of the latin alphabet, and their ordering is therefore obvious with respect to function arguments. It's not just non-native English speakers either. I too think of a, b as being first, second rather than after, before.

I was mostly being facetious (my main point being there's no perfect solution here), though I have seen serious code using the b=before/a=after convention.

-- --Guido van Rossum (python.org/~guido)



More information about the Python-Dev mailing list