From 4f5c0933a0dce78641c097a8a060dfc103fef4b7 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Mon, 24 Dec 2018 08:59:21 -0500 Subject: Remove unused imports throughout project Unused imports were discovered using flake8. By removing the unused imports, the code is a bit friendlier to new contributors as it is clearer what is being used and not simply leftover from previous refactoring. The flake8 command: $ flake8 . --select F401 http://flake8.pycqa.org/ --- pyparsing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyparsing.py') diff --git a/pyparsing.py b/pyparsing.py index 44773be..aa1b993 100644 --- a/pyparsing.py +++ b/pyparsing.py @@ -109,7 +109,7 @@ import pprint import traceback import types from datetime import datetime -from itertools import takewhile + try: # Python 3 from itertools import filterfalse -- cgit v1.2.1