Mercurial > public > mercurial-scm > hg-stable
comparison tests/test-extensions-wrapfunction.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 | 2372284d9457 |
children | 642e31cb55f0 |
comparison
equal
deleted
inserted
replaced
48965:af0b21d5a930 | 48966:6000f5b25c9b |
---|---|
1 from __future__ import absolute_import, print_function | |
2 | |
3 from mercurial import extensions | 1 from mercurial import extensions |
4 | 2 |
5 | 3 |
6 def genwrapper(x): | 4 def genwrapper(x): |
7 def f(orig, *args, **kwds): | 5 def f(orig, *args, **kwds): |