[Python-Dev] other "magic strings" issues

Guido van Rossum guido at python.org
Fri Nov 7 17:42:33 EST 2003

> But there are probably more useful combinations like
>     string.letters + string.digits + "_"
> than there should be isxxx() tests.

We don't need to invent anything for that.  You can use a regular
expression with \w.

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-Dev mailing list