mirror of
https://github.com/python/cpython.git
synced 2024-11-25 10:54:51 +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)!
|
# We can only do this trick on Unix (if tput is on $PATH)!
|
||||||
if sys.platform != "posix" or not sys.stderr.isatty():
|
if sys.platform != "posix" or not sys.stderr.isatty():
|
||||||
raise ImportError
|
raise ImportError
|
||||||
import curses
|
|
||||||
import commands
|
import commands
|
||||||
except ImportError:
|
except ImportError:
|
||||||
bwrite = ewrite
|
bwrite = ewrite
|
||||||
|
Loading…
Reference in New Issue
Block a user