[Python-Dev] str.dedent
Greg Ewing
greg.ewing at canterbury.ac.nz
Mon Nov 14 02:07:35 CET 2005
Ian Bicking wrote:
> I think a better argument for this is that dedenting a literal string is
> more of a syntactic operation than a functional one. You don't think
> "oh, I bet I'll need to do some dedenting on line 200 of this module, I
> better import textwrap".
And regardless of the need to import, there's a feeling
that it's something that ought to be done at compile
time, or even parse time.
--
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg.ewing at canterbury.ac.nz +--------------------------------------+
More information about the Python-Dev
mailing list