diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-07-16 11:46:31 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-07-16 11:46:31 -0400 |
commit | 3636ffe8af04ec0d04769599520c53838d872f7f (patch) | |
tree | d3bd036fe7ca25af2afb144580989b714c995741 /examples/example.py | |
parent | 9b38c8c2a5da60676b49f91f4671be2e1e8b0d0e (diff) | |
parent | eb882b2b308bb2e09761a74007ea308b489c2d56 (diff) | |
download | cmd2-git-3636ffe8af04ec0d04769599520c53838d872f7f.tar.gz |
Merge branch 'master' into default_sort_key
Diffstat (limited to 'examples/example.py')
-rwxr-xr-x | examples/example.py | 2 |
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)) |