Mercurial > public > mercurial-scm > hg-stable
diff mercurial/parser.py @ 48966:6000f5b25c9b
py2: remove simple from __future__ statements
These were needed for Python 2 support. Now that our linter no longer
mandates these, we can start deleting them.
Differential Revision: https://phab.mercurial-scm.org/D12254
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 03 Mar 2022 17:34:00 +0100 |
parents | 8655a77dce94 |
children | 642e31cb55f0 |
line wrap: on
line diff
--- a/mercurial/parser.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/parser.py Thu Mar 03 17:34:00 2022 +0100 @@ -16,7 +16,6 @@ # an action is a tree node name, a tree label, and an optional match # __call__(program) parses program into a labeled tree -from __future__ import absolute_import, print_function from .i18n import _ from . import (