summaryrefslogtreecommitdiffstats
path: root/Lib/statistics.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-03-27 14:05:26 (GMT)
committerGitHub <noreply@github.com>2017-03-27 14:05:26 (GMT)
commitd6debb24e06152a827769b0cac24c47deccdeac1 (patch)
treef26655d4333391e344dac8cbf6cf2dc08c18b8b4 /Lib/statistics.py
parent604e74c6beb2585c81083fa85f0e5a4d46965cbc (diff)
downloadcpython-d6debb24e06152a827769b0cac24c47deccdeac1.zip
cpython-d6debb24e06152a827769b0cac24c47deccdeac1.tar.gz
cpython-d6debb24e06152a827769b0cac24c47deccdeac1.tar.bz2
bpo-29919: Remove unused imports found by pyflakes (#137)
Make also minor PEP8 coding style fixes on modified imports.
Diffstat (limited to 'Lib/statistics.py')
-rw-r--r--Lib/statistics.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/statistics.py b/Lib/statistics.py
index 30fe55c..47c2bb4 100644
--- a/Lib/statistics.py
+++ b/Lib/statistics.py
@@ -83,13 +83,12 @@ __all__ = [ 'StatisticsError',
]
import collections
-import decimal
import math
import numbers
from fractions import Fraction
from decimal import Decimal
-from itertools import groupby, chain
+from itertools import groupby
from bisect import bisect_left, bisect_right