Fix for a fatal bug for the prompt UI on MS Windows.
The improvements in the tab completion support for the prompt UI on Mac OS X systems (r24421) was
fatal for certain Python readline modules on MS Windows, as readline.__doc__ can be None. This is
now correctly handled.