[varLib.interpolatable] Fix mix of space & tab
This commit is contained in:
parent
5d9677038b
commit
aa509b6df2
@ -16,12 +16,12 @@ import itertools
|
||||
import sys
|
||||
|
||||
def _rot_list(l, k):
|
||||
"""Rotate list by k items forward. Ie. item at position 0 will be
|
||||
at position k in returned list. Negative k is allowed."""
|
||||
n = len(l)
|
||||
k %= n
|
||||
if not k: return l
|
||||
return l[n-k:] + l[:n-k]
|
||||
"""Rotate list by k items forward. Ie. item at position 0 will be
|
||||
at position k in returned list. Negative k is allowed."""
|
||||
n = len(l)
|
||||
k %= n
|
||||
if not k: return l
|
||||
return l[n-k:] + l[:n-k]
|
||||
|
||||
|
||||
class PerContourPen(BasePen):
|
||||
|
Loading…
x
Reference in New Issue
Block a user