summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Law <PeterJCLaw@gmail.com>2020-03-14 15:06:48 +0000
committerGitHub <noreply@github.com>2020-03-14 08:06:48 -0700
commit38ee6702ab5d46ae8de436300a85ff5d61ce9f9e (patch)
tree8bb589cc83483bf4cde880a43e900eb6c3e12120
parent780bdcd6fe10f34f1b3eff1c255ca50ef3b94478 (diff)
downloadpyflakes-38ee6702ab5d46ae8de436300a85ff5d61ce9f9e.tar.gz
Clarify message docstring (#522)
As commented in https://github.com/PyCQA/pyflakes/pull/512#discussion_r392587730
-rw-r--r--pyflakes/messages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyflakes/messages.py b/pyflakes/messages.py
index e93a493..c8bf9c0 100644
--- a/pyflakes/messages.py
+++ b/pyflakes/messages.py
@@ -235,7 +235,7 @@ class TooManyExpressionsInStarredAssignment(Message):
class AssertTuple(Message):
"""
- Assertion test is a tuple, which are always True.
+ Assertion test is a non-empty tuple literal, which are always True.
"""
message = 'assertion is always true, perhaps remove parentheses?'