We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6afe3b commit 541544bCopy full SHA for 541544b
src/protosym/core/sym.py
@@ -562,7 +562,7 @@ def __setitem__( # noqa: C901
562
if isinstance(call.op, PyOpN):
563
(callarg,) = call.args
564
if pattern.args != (star(callarg),):
565
- raise BadRuleError("Nary function needs a star-rule.")
+ raise BadRuleError("varargs function needs a star-rule.")
566
elif pattern.args != call.args:
567
raise BadRuleError("Pattern and rule signatures do not match.")
568
0 commit comments