Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

> I am curious, what was the reason to add 
> trailing whitespace in the named tuple template?

To make it hard to doctest ;-)

I had a thought that it made the template more readable, but the better 
solution was to just use real newlines instead of '\n'.   The template has been 
considerably beautified for python 3.3, but I don't want to go back in time and 
muck with stable code just to accommodate adding a doctest in old docs.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10225>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to