Mercurial > public > mercurial-scm > hg-stable
diff mercurial/help.py @ 40263:8cf459d8b111
py3: use py3 as the test tag, dropping the k
Differential Revision: https://phab.mercurial-scm.org/D5079
author | Martijn Pieters <mj@octobus.net> |
---|---|
date | Sat, 13 Oct 2018 10:09:12 +0200 |
parents | a2880ac67ee0 |
children | 170926caf44c |
line wrap: on
line diff
--- a/mercurial/help.py Sat Oct 13 09:03:08 2018 -0400 +++ b/mercurial/help.py Sat Oct 13 10:09:12 2018 +0200 @@ -338,7 +338,7 @@ aliases, entry = cmdutil.findcmd(name, commands.table, strict=unknowncmd) except error.AmbiguousCommand as inst: - # py3k fix: except vars can't be used outside the scope of the + # py3 fix: except vars can't be used outside the scope of the # except block, nor can be used inside a lambda. python issue4617 prefix = inst.args[0] select = lambda c: cmdutil.parsealiases(c)[0].startswith(prefix)