diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-02-06 08:03:28 +0100 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2021-02-07 10:28:18 +0100 |
commit | 6fb0e3cc864f7e1a223d87f11829207cc802e7b4 (patch) | |
tree | 6a17842018e4cb0fbf04be3c86b6cd675ca4b116 | |
parent | 88fe6da03bf52b9db7572727c72c1425bf30d57e (diff) | |
download | pylint-git-6fb0e3cc864f7e1a223d87f11829207cc802e7b4.tar.gz |
Initialize a boolean value as False instead of None
-rw-r--r-- | pylint/extensions/_check_docs_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/extensions/_check_docs_utils.py b/pylint/extensions/_check_docs_utils.py index 14ca24e9a..18c99b387 100644 --- a/pylint/extensions/_check_docs_utils.py +++ b/pylint/extensions/_check_docs_utils.py @@ -189,7 +189,7 @@ class Docstring: re.X | re.S, ) - supports_yields = None + supports_yields: bool = False """True if the docstring supports a "yield" section. False if the docstring uses the returns section to document generators. |