Wishlist: string attributes

Stephen Boulet stephen.boulet at motorola.com
Tue Mar 25 16:44:08 CET 2003


Being a big fan of string methods, here's what I'd like to see for python strings:

I can access string methods like (str.lower) but I would like to be able to 
access all string module attributes without importing the string module (like 
str.ascii_lowercase, str.whitespace, etc.).

Not being a guru, are there any good reasons against?

-- Stephen





More information about the Python-list mailing list