diff --git a/pinyin/utils.py b/pinyin/utils.py index 29e605b..ec6802a 100644 --- a/pinyin/utils.py +++ b/pinyin/utils.py @@ -381,8 +381,8 @@ def splitat(what, n): raise ValueError("You cannot splitat at a point later than the end of the string") return what[0:n], what[n:] -def seq(x, y): - return y() +def seq(*args): + return args[-1]() def inplacefilter(pred, list): for i in range(len(list), 0, -1):