Commits

anatoly techtonik committed 3ad16dd

Fix quickstart on Windows with pyreadline (which comes without __doc__)

Comments (0)

Files changed (1)

sphinx/quickstart.py

 #try to import readline, unix specific enhancement
 try:
     import readline
-    if 'libedit' in readline.__doc__:
+    if readline.__doc__ and 'libedit' in readline.__doc__:
         readline.parse_and_bind("bind ^I rl_complete")
     else:
         readline.parse_and_bind("tab: complete")