Skip to content

Commit

Permalink
Fix typo in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
liZe committed Apr 20, 2022
1 parent cde145e commit 8d75919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cssselect2/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def parse(input, namespaces=None, forgiving=False):
raise exception
else:
if not forgiving:
raise SelectorError(next, f'unpexpected {next.type} token.')
raise SelectorError(next, f'unexpected {next.type} token.')


def parse_selector(tokens, namespaces):
Expand Down

0 comments on commit 8d75919

Please sign in to comment.