Skip to content

Commit 5e3701f

Browse files
committed
fix typos in exception messages
1 parent 9bbd483 commit 5e3701f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pythonwhat/check_syntax.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ def __rshift__(self, f):
6868
if self._waiting_on_call:
6969
self._double_attr_error()
7070
elif type(f) == Chain:
71-
raise BaseException("did you use a result of the Ex() function on the right hand side of the + operator?")
71+
raise BaseException("did you use a result of the Ex() function on the right hand side of the >> operator?")
7272
elif not callable(f):
73-
raise BaseException("right hand side of + operator should be an SCT, so must be callable!")
73+
raise BaseException("right hand side of >> operator should be an SCT, so must be callable!")
7474
else:
7575
chain = self._sct_copy(f)
7676
return chain()

0 commit comments

Comments
 (0)