BUG: In the QPythonShellWdiget: check that the __doc__ attribute is not None before trying to use its rstrip() method.
BUG: In the QPythonShellWdiget: check that the __doc__ attribute is not None before trying to use its rstrip() method.

pankajp/pyface,geggo/pyface,brett-patterson/pyface,geggo/pyface