From 382795e7eb812816dc479eab4af23a3273d859f4 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 7 Jan 2019 10:44:56 +0100 Subject: [PATCH] Anonymize unused variable. --- examples/python/actor-yield/actor-yield.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/python/actor-yield/actor-yield.py b/examples/python/actor-yield/actor-yield.py index 39a16666b5..ce2bbc68f8 100644 --- a/examples/python/actor-yield/actor-yield.py +++ b/examples/python/actor-yield/actor-yield.py @@ -20,7 +20,7 @@ class Yielder: def __init__(self, *args): self.number_of_yields = int(args[0]) def __call__(self): - for i in range(self.number_of_yields): + for _ in range(self.number_of_yields): this_actor.yield_() this_actor.info("I yielded {:d} times. Goodbye now!".format(self.number_of_yields)) -- 2.20.1