Skip to content

Commit 541544b

Browse files
committed
sym: tweak error message: Nary -> Varargs
1 parent d6afe3b commit 541544b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/protosym/core/sym.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ def __setitem__( # noqa: C901
562562
if isinstance(call.op, PyOpN):
563563
(callarg,) = call.args
564564
if pattern.args != (star(callarg),):
565-
raise BadRuleError("Nary function needs a star-rule.")
565+
raise BadRuleError("varargs function needs a star-rule.")
566566
elif pattern.args != call.args:
567567
raise BadRuleError("Pattern and rule signatures do not match.")
568568

0 commit comments

Comments
 (0)