diff --git a/soupsieve/css_match.py b/soupsieve/css_match.py
index 79bb870..49e5f07 100644
--- a/soupsieve/css_match.py
+++ b/soupsieve/css_match.py
@@ -84,7 +84,7 @@ def assert_valid_input(cls, tag: Any) -> None:
# Fail on unexpected types.
if not cls.is_tag(tag):
- raise TypeError("Expected a BeautifulSoup 'Tag', but instead recieved type {}".format(type(tag)))
+ raise TypeError("Expected a BeautifulSoup 'Tag', but instead received type {}".format(type(tag)))
@staticmethod
def is_doc(obj: 'bs4.Tag') -> bool:
diff --git a/soupsieve/css_parser.py b/soupsieve/css_parser.py
index 0536b80..d77084d 100644
--- a/soupsieve/css_parser.py
+++ b/soupsieve/css_parser.py
@@ -562,7 +562,7 @@ def parse_pseudo_class_custom(self, sel: _Selector, m: Match[str], has_selector:
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 @@ def parse_combinator(
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 @@ def parse_selectors(
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 @@ def parse_selectors(
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)
)
diff --git a/tests/test_level4/test_placeholder_shown.py b/tests/test_level4/test_placeholder_shown.py
index 90fea7c..96c9ace 100644
--- a/tests/test_level4/test_placeholder_shown.py
+++ b/tests/test_level4/test_placeholder_shown.py
@@ -51,7 +51,7 @@ def test_placeholder_shown(self):
/* Value will override this input */
- /* Text area content overides the placeholder
+ /* Text area content overrides the placeholder