summaryrefslogtreecommitdiff
path: root/examples/example.py
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2019-07-16 09:45:42 -0600
committerGitHub <noreply@github.com>2019-07-16 09:45:42 -0600
commiteb882b2b308bb2e09761a74007ea308b489c2d56 (patch)
treedabbaf6aa290e57c7140e4b1d32f1cd1f38bcaac /examples/example.py
parent94b424e9c41f99c6eb268c6c97f09e99a8342de8 (diff)
parentd68f6893396109afa0c7ca4ecfe72ecf192cfc0d (diff)
downloadcmd2-git-eb882b2b308bb2e09761a74007ea308b489c2d56.tar.gz
Merge pull request #720 from python-cmd2/migrating_docs
Write documentation for migrating from cmd
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))