summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2021-05-23 01:55:46 -0400
committerGitHub <noreply@github.com>2021-05-23 07:55:46 +0200
commitbe2bf849d3109a90fdf8388032014b90a0945e0a (patch)
treea5db619baac47f95af116f96ba343cab59adab08 /doc
parent605afdb720afee682b1d13e128da632e7ea3c316 (diff)
downloadpylint-git-be2bf849d3109a90fdf8388032014b90a0945e0a.tar.gz
Fix errors in block disables paragraph in User Guide (#4489)
Diffstat (limited to 'doc')
-rw-r--r--doc/user_guide/message-control.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/user_guide/message-control.rst b/doc/user_guide/message-control.rst
index 82a8ec804..18c9b18a8 100644
--- a/doc/user_guide/message-control.rst
+++ b/doc/user_guide/message-control.rst
@@ -59,7 +59,7 @@ The pragma controls can disable / enable:
print(self.bla)
if self.blop:
# pylint: enable=no-member
- # disable all no-members for this block
+ # enable all no-members for this block
print(self.blip)
else:
# This is affected by the scope disable
@@ -67,7 +67,7 @@ The pragma controls can disable / enable:
# pylint: enable=no-member
print(self.blip)
if self.blop:
- # pylint: enable=no-member
+ # pylint: disable=no-member
# disable all no-members for this block
print(self.blip)
else: