diff options
Diffstat (limited to 'doc/data/messages/b/bad-chained-comparison/good.py')
-rw-r--r-- | doc/data/messages/b/bad-chained-comparison/good.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/data/messages/b/bad-chained-comparison/good.py b/doc/data/messages/b/bad-chained-comparison/good.py index 115f4a9db..79bb64151 100644 --- a/doc/data/messages/b/bad-chained-comparison/good.py +++ b/doc/data/messages/b/bad-chained-comparison/good.py @@ -1,3 +1,5 @@ def xor_check(*, left=None, right=None): if (left is None) != (right is None): - 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." + ) |