Skip to content

Commit 81841fc

Browse files
committed
FIX: no dict comprehension in 2.6 :(
1 parent 5b82fb2 commit 81841fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cycler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ def _transpose(self):
194194
# and if we care.
195195

196196
keys = self.keys
197-
out = {k: list() for k in keys}
197+
# change this to dict comprehension when drop 2.6
198+
out = dict((k, list()) for k in keys)
198199

199200
for d in self:
200201
for k in keys:

0 commit comments

Comments
 (0)