summaryrefslogtreecommitdiffhomepage
path: root/libs/soupsieve/css_parser.py
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2022-11-07 13:06:49 -0500
committermorpheus65535 <[email protected]>2022-11-07 13:08:27 -0500
commitbbe2483e21c2c1549ceeed16f021f9581b899f70 (patch)
treebcc2bef2f55789ec6e6c64809c07fb4f4d3d9c86 /libs/soupsieve/css_parser.py
parent708fbfcd8ec0620647975be39a1f6acbbf08f767 (diff)
downloadbazarr-bbe2483e21c2c1549ceeed16f021f9581b899f70.tar.gz
bazarr-bbe2483e21c2c1549ceeed16f021f9581b899f70.zip
Updated vendored dependencies.
Diffstat (limited to 'libs/soupsieve/css_parser.py')
-rw-r--r--libs/soupsieve/css_parser.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/soupsieve/css_parser.py b/libs/soupsieve/css_parser.py
index 0536b80fc..d77084d43 100644
--- a/libs/soupsieve/css_parser.py
+++ b/libs/soupsieve/css_parser.py
@@ -562,7 +562,7 @@ class CSSParser:
selector = self.custom.get(pseudo)
if selector is None:
raise SelectorSyntaxError(
- "Undefined custom selector '{}' found at postion {}".format(pseudo, m.end(0)),
+ "Undefined custom selector '{}' found at position {}".format(pseudo, m.end(0)),
self.pattern,
m.end(0)
)
@@ -828,7 +828,7 @@ class CSSParser:
if not has_selector:
if not is_forgive or combinator != COMMA_COMBINATOR:
raise SelectorSyntaxError(
- "The combinator '{}' at postion {}, must have a selector before it".format(combinator, index),
+ "The combinator '{}' at position {}, must have a selector before it".format(combinator, index),
self.pattern,
index
)
@@ -1007,7 +1007,7 @@ class CSSParser:
if not has_selector:
if not is_forgive:
raise SelectorSyntaxError(
- "Expected a selector at postion {}".format(m.start(0)),
+ "Expected a selector at position {}".format(m.start(0)),
self.pattern,
m.start(0)
)
@@ -1017,7 +1017,7 @@ class CSSParser:
break
else:
raise SelectorSyntaxError(
- "Unmatched pseudo-class close at postion {}".format(m.start(0)),
+ "Unmatched pseudo-class close at position {}".format(m.start(0)),
self.pattern,
m.start(0)
)