diff options
author | James Sinclair <james@nurfherder.com> | 2021-04-02 06:24:50 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-01 21:24:50 +0200 |
commit | 121530dd82bd89dca9cbc44193618177140b86d7 (patch) | |
tree | f57bb9efd2500a5ecdbe96a3ab440fbb49266ff5 /doc | |
parent | 44a3aa25fd9b5b3469b3e24179798d67ef604eeb (diff) | |
download | pylint-git-121530dd82bd89dca9cbc44193618177140b86d7.tar.gz |
Allow protected-access in class methods (#4267)
* Add failing tests for protected member access in class methods.
* Allow protected-access to class/instance members inside class methods.
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/whatsnew/2.7.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/whatsnew/2.7.rst b/doc/whatsnew/2.7.rst index 6395ffd2b..35bdb9348 100644 --- a/doc/whatsnew/2.7.rst +++ b/doc/whatsnew/2.7.rst @@ -56,3 +56,5 @@ Other Changes * Fixes duplicate code detection for --jobs=2+ * New option ``allowed-redefined-builtins`` defines variable names allowed to shadow builtins. + +* Improved protected access checks to allow access inside class methods |