Issue #22420: Avoid 'write to None' crashes by using print instead.
For 2,.7, add print_function __future__ import and convert print statements
to print functions.  Based on 3.x patch by Serhiy Storchaka.

--HG--
branch : 2.7
Update Idle's online doc url.

--HG--
branch : 2.7
Doc: remove invalid uses of ":option:" which will emit warnings in Sphinx 1.3.

--HG--
branch : 2.7
extra : transplant_source : z%F01%5B%DF%E0%99g%EC%97%3C%11%20%D9%3A%A7k%BD%12%23
Doc: fix usage of deprecated config value "unused_docs", and a duplicate object name.

--HG--
branch : 2.7