From 3a667aa98bc439e30464162d65561103173cd6dd Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Fri, 9 Apr 2010 16:08:30 -0300 Subject: [PATCH] remove unused imports --- Cython/Compiler/Main.py | 2 +- Cython/Compiler/Scanning.py | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Cython/Compiler/Main.py b/Cython/Compiler/Main.py index 5fd6f0de..6ac73495 100644 --- a/Cython/Compiler/Main.py +++ b/Cython/Compiler/Main.py @@ -2,7 +2,7 @@ # Cython Top Level # -import os, sys, re, codecs +import os, sys, re if sys.version_info[:2] < (2, 3): sys.stderr.write("Sorry, Cython requires Python 2.3 or later\n") sys.exit(1) diff --git a/Cython/Compiler/Scanning.py b/Cython/Compiler/Scanning.py index a0b01706..7e99b773 100644 --- a/Cython/Compiler/Scanning.py +++ b/Cython/Compiler/Scanning.py @@ -2,12 +2,9 @@ # Cython Scanner # +import sys import os import platform -import stat -import sys -import codecs -from time import time import cython cython.declare(EncodedString=object, string_prefixes=object, raw_prefixes=object, IDENT=object, -- 2.26.2