mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Patch #1472854: make the rlcompleter.Completer class usable on non-
UNIX platforms.
This commit is contained in:
parent
208badda27
commit
3583cff5a9
4 changed files with 19 additions and 14 deletions
|
|
@ -50,11 +50,7 @@ import pstats
|
|||
import py_compile
|
||||
import pydoc
|
||||
import rexec
|
||||
try:
|
||||
import rlcompleter # not available on Windows
|
||||
except ImportError:
|
||||
if verbose:
|
||||
print "skipping rlcompleter"
|
||||
import rlcompleter
|
||||
import sched
|
||||
import smtplib
|
||||
import sndhdr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue