mirror of
https://github.com/python/cpython.git
synced 2024-11-25 02:44:06 +08:00
Remove unused "import curses".
This commit is contained in:
parent
c580dae6da
commit
51060be2f8
@ -28,7 +28,6 @@ try:
|
||||
# We can only do this trick on Unix (if tput is on $PATH)!
|
||||
if sys.platform != "posix" or not sys.stderr.isatty():
|
||||
raise ImportError
|
||||
import curses
|
||||
import commands
|
||||
except ImportError:
|
||||
bwrite = ewrite
|
||||
|
Loading…
Reference in New Issue
Block a user