We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bbd483 commit 5e3701fCopy full SHA for 5e3701f
1 file changed
pythonwhat/check_syntax.py
@@ -68,9 +68,9 @@ def __rshift__(self, f):
68
if self._waiting_on_call:
69
self._double_attr_error()
70
elif type(f) == Chain:
71
- raise BaseException("did you use a result of the Ex() function on the right hand side of the + operator?")
+ raise BaseException("did you use a result of the Ex() function on the right hand side of the >> operator?")
72
elif not callable(f):
73
- raise BaseException("right hand side of + operator should be an SCT, so must be callable!")
+ raise BaseException("right hand side of >> operator should be an SCT, so must be callable!")
74
else:
75
chain = self._sct_copy(f)
76
return chain()
0 commit comments