diff options
author | hippo91 <guillaume.peillex@gmail.com> | 2020-08-20 11:23:16 +0200 |
---|---|---|
committer | hippo91 <guillaume.peillex@gmail.com> | 2020-08-20 11:23:16 +0200 |
commit | e010b84785eddf52c70e14f5772ad0e5d99f3503 (patch) | |
tree | 1a1950ef497a42757ef866d30ce581ab48b4f1a8 /pylint/checkers/classes.py | |
parent | 04f107d156e84c71d6c38a8610905ea867bffe78 (diff) | |
download | pylint-git-e010b84785eddf52c70e14f5772ad0e5d99f3503.tar.gz |
Corrects some inconsistent-return-statements occurences
Diffstat (limited to 'pylint/checkers/classes.py')
-rw-r--r-- | pylint/checkers/classes.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pylint/checkers/classes.py b/pylint/checkers/classes.py index bbbd60210..117f44307 100644 --- a/pylint/checkers/classes.py +++ b/pylint/checkers/classes.py @@ -452,6 +452,7 @@ def _safe_infer_call_result(node, caller, context=None): return None # there is some kind of ambiguity except StopIteration: return value + return None def _has_same_layout_slots(slots, assigned_value): |