summaryrefslogtreecommitdiff
path: root/doc/data/messages/r/redefined-argument-from-local/bad.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/data/messages/r/redefined-argument-from-local/bad.py')
-rw-r--r--doc/data/messages/r/redefined-argument-from-local/bad.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/data/messages/r/redefined-argument-from-local/bad.py b/doc/data/messages/r/redefined-argument-from-local/bad.py
index 24d441219..733f307b3 100644
--- a/doc/data/messages/r/redefined-argument-from-local/bad.py
+++ b/doc/data/messages/r/redefined-argument-from-local/bad.py
@@ -1,3 +1,4 @@
def show(host_id=10.11):
- for host_id, host in [[12.13, 'Venus'], [14.15, 'Mars']]: # [redefined-argument-from-local]
+ # +1: [redefined-argument-from-local]
+ for host_id, host in [[12.13, "Venus"], [14.15, "Mars"]]:
print(host_id, host)