diff options
Diffstat (limited to 'doc/data/messages/c/consider-using-assignment-expr/bad.py')
-rw-r--r-- | doc/data/messages/c/consider-using-assignment-expr/bad.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/data/messages/c/consider-using-assignment-expr/bad.py b/doc/data/messages/c/consider-using-assignment-expr/bad.py new file mode 100644 index 000000000..a700537fa --- /dev/null +++ b/doc/data/messages/c/consider-using-assignment-expr/bad.py @@ -0,0 +1,4 @@ +apples = 2 + +if apples: # [consider-using-assignment-expr] + print("God apples!") |