Daniel Diniz aja...@gmail.com added the comment:
Nice buglet, please take a look at Lib/pydoc.py to follow :)
As you point out, this is issue 1700304.
'plainpager', which outputs the help in these cases, uses
'sys.stdout.write(plain(text))', but Helper.help has a
New submission from François Granade franc...@granade.com:
When the pydoc module is imported, and the sys.stdout is overwriten, a
end-of-line is sent to the console (on sdtout) when the help() function is sent.
to reproduce (this is on Python 2.5 but the same happens on Pythjon 3.1):