Skip to content

Commit

Permalink
Fixed typo in W0212 (#9892)
Browse files Browse the repository at this point in the history
  • Loading branch information
bshoshany authored Aug 23, 2024
1 parent 6bb335f commit d048dcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/user_guide/checkers/features.rst
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ Classes checker Messages
interface or in an overridden method.
:protected-access (W0212): *Access to a protected member %s of a client class*
Used when a protected member (i.e. class member with a name beginning with an
underscore) is access outside the class or a descendant of the class where
underscore) is accessed outside the class or a descendant of the class where
it's defined.
:attribute-defined-outside-init (W0201): *Attribute %r defined outside __init__*
Used when an instance attribute is defined outside the __init__ method.
Expand Down
2 changes: 1 addition & 1 deletion pylint/checkers/classes/class_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ def _has_same_layout_slots(
"Access to a protected member %s of a client class", # E0214
"protected-access",
"Used when a protected member (i.e. class member with a name "
"beginning with an underscore) is access outside the class or a "
"beginning with an underscore) is accessed outside the class or a "
"descendant of the class where it's defined.",
),
"W0213": (
Expand Down

0 comments on commit d048dcc

Please sign in to comment.