summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-05-03 18:13:51 (GMT)
committerGuido van Rossum <guido@python.org>1999-05-03 18:13:51 (GMT)
commit96d80f984a4df67ef90fc367faff6836b6f0496e (patch)
treec9d4da5e84df6a67808a7a3d42f8fb0f63e62e9e /Lib
parent138bdafa8deadb8505ea7257522d018df25c98e8 (diff)
downloadcpython-96d80f984a4df67ef90fc367faff6836b6f0496e.zip
cpython-96d80f984a4df67ef90fc367faff6836b6f0496e.tar.gz
cpython-96d80f984a4df67ef90fc367faff6836b6f0496e.tar.bz2
No need to import sys. (Andrew Dalke & kjpylint)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/htmllib.py1
-rw-r--r--Lib/pty.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/Lib/htmllib.py b/Lib/htmllib.py
index 77be470..9cf962c 100644
--- a/Lib/htmllib.py
+++ b/Lib/htmllib.py
@@ -5,7 +5,6 @@ http://www.w3.org/hypertext/WWW/MarkUp/html-spec/html-spec_toc.html
"""
-import sys
import string
from sgmllib import SGMLParser
from formatter import AS_IS
diff --git a/Lib/pty.py b/Lib/pty.py
index 53a4b2d..2ba1938 100644
--- a/Lib/pty.py
+++ b/Lib/pty.py
@@ -7,7 +7,7 @@
# Author: Steen Lumholt -- with additions by Guido.
from select import select
-import os, sys, FCNTL
+import os, FCNTL
import tty
STDIN_FILENO = 0