Skip to content

Commit d048dcc

Browse files
authored
Fixed typo in W0212 (#9892)
1 parent 6bb335f commit d048dcc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/user_guide/checkers/features.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ Classes checker Messages
328328
interface or in an overridden method.
329329
:protected-access (W0212): *Access to a protected member %s of a client class*
330330
Used when a protected member (i.e. class member with a name beginning with an
331-
underscore) is access outside the class or a descendant of the class where
331+
underscore) is accessed outside the class or a descendant of the class where
332332
it's defined.
333333
:attribute-defined-outside-init (W0201): *Attribute %r defined outside __init__*
334334
Used when an instance attribute is defined outside the __init__ method.

pylint/checkers/classes/class_checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ def _has_same_layout_slots(
523523
"Access to a protected member %s of a client class", # E0214
524524
"protected-access",
525525
"Used when a protected member (i.e. class member with a name "
526-
"beginning with an underscore) is access outside the class or a "
526+
"beginning with an underscore) is accessed outside the class or a "
527527
"descendant of the class where it's defined.",
528528
),
529529
"W0213": (

0 commit comments

Comments
 (0)