summaryrefslogtreecommitdiff
path: root/examples/example.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example.py')
-rwxr-xr-xexamples/example.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example.py b/examples/example.py
index a62c258b..b8f8202c 100755
--- a/examples/example.py
+++ b/examples/example.py
@@ -66,7 +66,7 @@ class CmdLineApp(cmd2.Cmd):
def do_mumble(self, args):
"""Mumbles what you tell me to."""
repetitions = args.repeat or 1
- for i in range(min(repetitions, self.maxrepeats)):
+ for _ in range(min(repetitions, self.maxrepeats)):
output = []
if random.random() < .33:
output.append(random.choice(self.MUMBLE_FIRST))