We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 99e92d5 + 6608747 commit 78f477dCopy full SHA for 78f477d
1 file changed
cycler.py
@@ -446,18 +446,18 @@ def concat(left, right):
446
"""
447
if left.keys != right.keys:
448
msg = '\n\t'.join(["Keys do not match:",
449
- "Intersection: {both!r}",
450
- "Disjoint: {just_one!r}"
451
- ]).format(
452
- both=left.keys&right.keys,
453
- just_one=left.keys^right.keys)
+ "Intersection: {both!r}",
+ "Disjoint: {just_one!r}"]).format(
+ both=left.keys & right.keys,
+ just_one=left.keys ^ right.keys)
454
455
raise ValueError(msg)
456
457
_l = left._transpose()
458
_r = right._transpose()
459
return reduce(add, (_cycler(k, _l[k] + _r[k]) for k in left.keys))
460
+
461
def cycler(*args, **kwargs):
462
463
Create a new `Cycler` object from a single positional argument,
0 commit comments