[issue10225] Fix doctest runable examples in python manual
24 Mar
2011
24 Mar
'11
7:15 p.m.
Raymond Hettinger <raymond.hettinger@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 <report@bugs.python.org> <http://bugs.python.org/issue10225> _______________________________________
4807
Age (days ago)
4807
Last active (days ago)
0 comments
1 participants
participants (1)
-
Raymond Hettinger