Skip to content

Commit

Permalink
Fix a minor grammar error in some docstrings.
Browse files Browse the repository at this point in the history
it's means "it is". its is the possessive.
  • Loading branch information
d-b-w committed Aug 20, 2024
1 parent 52a5947 commit e418a54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libcst/_nodes/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def __post_init__(self) -> None:
def __init_subclass__(cls, **kwargs: Any) -> None:
"""
HACK: Add our implementation of `__repr__`, `__hash__`, and `__eq__` to the
class's __dict__ to prevent dataclass from generating it's own `__repr__`,
class's __dict__ to prevent dataclass from generating its own `__repr__`,
`__hash__`, and `__eq__`.
The alternative is to require each implementation of a node to remember to add
Expand Down Expand Up @@ -152,7 +152,7 @@ def validate_types_shallow(self) -> None:
Compares the type annotations on a node's fields with those field's actual
values at runtime. Raises a TypeError is a mismatch is found.
Only validates the current node, not any of it's children. For a recursive
Only validates the current node, not any of its children. For a recursive
version, see :func:`validate_types_deep`.
If you're using a static type checker (highly recommended), this is useless.
Expand Down

0 comments on commit e418a54

Please sign in to comment.