Show More
@@ -86,7 +86,7 b' uses_libedit = False' | |||
|
86 | 86 | |
|
87 | 87 | if have_readline: |
|
88 | 88 | # Official Python docs state that 'libedit' is in the docstring for libedit readline: |
|
89 | uses_libedit = 'libedit' in _rl.__doc__ | |
|
89 | uses_libedit = _rl.__doc__ and 'libedit' in _rl.__doc__ | |
|
90 | 90 | # Note that many non-System Pythons also do not use proper readline, |
|
91 | 91 | # but do not report libedit at all, nor are they linked dynamically against libedit. |
|
92 | 92 | # known culprits of this include: EPD, Fink |
General Comments 0
You need to be logged in to leave comments.
Login now