Issue #22420: Avoid 'write to None' crashes by using print instead.
Change a couple of existing prints.  Original patch by Serhiy Storchaka.
Update Idle's online doc url.