summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/whatsnew/1.8.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/whatsnew/1.8.rst b/doc/whatsnew/1.8.rst
index e92b9d143..a0cf7d3ac 100644
--- a/doc/whatsnew/1.8.rst
+++ b/doc/whatsnew/1.8.rst
@@ -378,3 +378,6 @@ Other Changes
* Fixing false positive ``inconsistent-return-statements`` when
never returning functions are used (i.e such as sys.exit). (backport from 2.0)
+
+* Fix false positive ``inconsistent-return-statements`` message when a function
+ is defined under an if statement. (backport from 2.0)