diff options
Diffstat (limited to 'doc/data/messages/p/possibly-unused-variable/bad.py')
-rw-r--r-- | doc/data/messages/p/possibly-unused-variable/bad.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/data/messages/p/possibly-unused-variable/bad.py b/doc/data/messages/p/possibly-unused-variable/bad.py new file mode 100644 index 000000000..b64aee88b --- /dev/null +++ b/doc/data/messages/p/possibly-unused-variable/bad.py @@ -0,0 +1,4 @@ +def choose_fruits(fruits): + print(fruits) + color = "red" # [possibly-unused-variable] + return locals() |