Skip to content

Commit

Permalink
fix: fix multiline typo (#4533)
Browse files Browse the repository at this point in the history
  • Loading branch information
swaptr authored Mar 16, 2023
1 parent 301800a commit e5597ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/vowpalwabbit/pyvw.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ def learn(self, ec: Union["Example", List["Example"], str, List[str]]) -> None:

elif isinstance(ec, list):
if not self._is_multiline():
raise TypeError("Expecting a mutiline Learner.")
raise TypeError("Expecting a multiline learner.")
if len(ec) == 0:
raise ValueError("An empty list is invalid")
if isinstance(ec[0], str):
Expand Down

0 comments on commit e5597ae

Please sign in to comment.