Carol Willing added the comment:
Tim, A good point re: the interpreter. I've attached an output from IPython interpreter.
Georg, Given Tim's additional insight, I'm inclined to reopen the issue and review the patch as a positive change. Though not a bug, but as an enhancement for learners to copy-paste doc code into an interpreter. Thoughts?
---------- Added file: http://bugs.python.org/file39130/Screen Shot 2015-04-19 at 12.19.07 PM.png