From 46225e77fa7419ca043170906164f062eb0bdbe0 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Mon, 18 Aug 2008 00:36:52 +0000 Subject: [PATCH] Remove two unneeded imports in 'io'. --- Lib/io.py | 2 -- Misc/NEWS | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/io.py b/Lib/io.py index f90a2f8b9e..8462dd5e6a 100644 --- a/Lib/io.py +++ b/Lib/io.py @@ -59,10 +59,8 @@ __all__ = ["BlockingIOError", "open", "IOBase", "RawIOBase", "FileIO", import os import abc -import sys import codecs import _fileio -import warnings import threading # open() uses st_blksize whenever we can diff --git a/Misc/NEWS b/Misc/NEWS index 99414d1003..d1390cd687 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -48,6 +48,8 @@ Core and Builtins Library ------- +- Remove unneeded imports of 'sys' and 'warnings' from 'io'. + - Remove unneeded imports of 'warnings' from shelve, filecmp, and dummy_thread. - Issue #3575: Incremental decoder's decode function now takes bytearray -- 2.40.0