[Python-Dev] Yet another string formatting proposal (original) (raw)
Fredrik Lundh fredrik@pythonware.com
Thu, 21 Nov 2002 20:24:54 +0100
- Previous message: [Python-Dev] Yet another string formatting proposal
- Next message: [Python-Dev] Yet another string formatting proposal
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
oren won't give up:
"(a) + (b) = (a+b)\n"
The expressions embedded in the string are parsed at compile time and any syntax errors in them are detected during compilation.
note that "(" is commonly used to escape parentheses in regular expression strings.
- Previous message: [Python-Dev] Yet another string formatting proposal
- Next message: [Python-Dev] Yet another string formatting proposal
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]