Mostly PEP8 cleanups in the course of reading the code.

I took the liberty of adding a few specific exception types, some
documentation, and things like that, but this is mostly a cosmetic chance.
This commit is contained in:
Austin Bingham
2014-09-02 09:39:04 +02:00
parent dcac37022d
commit e02b7be182
5 changed files with 259 additions and 119 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ def contains_duplicates(sorted_iterable):
def measure_stride(iterable):
"""Determine whether successive numeric items differ by a contant amount.
"""Determine whether successive numeric items differ by a constant amount.
Args:
iterable: An iterable series of numeric values.