Fix some typos in comments (#9802)

This commit is contained in:
Alex Waygood
2023-02-23 22:11:24 +00:00
committed by GitHub
parent 6ba28ae547
commit 1d2ae2598b
8 changed files with 9 additions and 9 deletions

View File

@@ -293,7 +293,7 @@ class structseq(Generic[_T_co]):
# https://github.com/python/typeshed/pull/6560#discussion_r767149830
def __new__(cls: type[Self], sequence: Iterable[_T_co], dict: dict[str, Any] = ...) -> Self: ...
# Superset of typing.AnyStr that also inclues LiteralString
# Superset of typing.AnyStr that also includes LiteralString
AnyOrLiteralStr = TypeVar("AnyOrLiteralStr", str, bytes, LiteralString) # noqa: Y001
# Represents when str or LiteralStr is acceptable. Useful for string processing