diff options
Diffstat (limited to 'doc/data/messages/b/bad-chained-comparison/bad.py')
-rw-r--r-- | doc/data/messages/b/bad-chained-comparison/bad.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/data/messages/b/bad-chained-comparison/bad.py b/doc/data/messages/b/bad-chained-comparison/bad.py index eeca75f13..09e3ab627 100644 --- a/doc/data/messages/b/bad-chained-comparison/bad.py +++ b/doc/data/messages/b/bad-chained-comparison/bad.py @@ -1,3 +1,5 @@ def xor_check(*, left=None, right=None): if left is None != right is None: # [bad-chained-comparison] - raise ValueError('Either both left= and right= need to be provided or none should.') + raise ValueError( + "Either both left= and right= need to be provided or none should." + ) |