[Python-Dev] SF:1463370 add .format() method to str and unicode (original) (raw)

Aahz aahz at pythoncraft.com
Mon Apr 3 17:09:53 CEST 2006


On Mon, Apr 03, 2006, Crutcher Dunnavant wrote:

From discussion on python-3000, it occured to me that this shouldn't break anything. This patch adds a .format() method to the string and unicode types. SF:1463370

If you're serious, please write up a PEP. I recommend that you start posting to comp.lang.python first. (Changes to built-in types like this generally require a PEP.)

Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/

"Look, it's your affair if you want to play with five people, but don't go calling it doubles." --John Cleese anticipates Usenet



More information about the Python-Dev mailing list