codes: don't assume 'readline' has a __doc__
codes: don't assume 'readline' has a __doc__

This fixes cygwin, which (for some reason) doesn't include docstrings in the
readline module.

closes #111

warner/magic-wormhole,warner/magic-wormhole,warner/magic-wormhole,warner/magic-wormhole