From dcc5fe8734d25419b9a9a55a1b7fb690449ee94e Mon Sep 17 00:00:00 2001 From: Tammo Behrends Date: Mon, 25 Jan 2016 23:26:30 +0100 Subject: [PATCH] series: fix pep8 compliance (see #287) --- series/example.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/series/example.py b/series/example.py index 5781e1d362..bd7aedaa9a 100644 --- a/series/example.py +++ b/series/example.py @@ -1,7 +1,6 @@ def slices(series, length): numbers = [int(digit) for digit in series] if not 1 <= length <= len(numbers): - raise ValueError("Invalid slice length for this series: " - + str(length)) + raise ValueError("Invalid slice length for this series: " + str(length)) return [numbers[i:i + length] for i in range(len(numbers) - length + 1)]