Mercurial > hg
comparison hgext/fsmonitor/pywatchman/compat.py @ 48875: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 | 6469c23a40a2 |
children | f58f955adad4 |
comparison
equal
deleted
inserted
replaced
48874:af0b21d5a930 | 48875:6000f5b25c9b |
---|---|
25 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | 25 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
26 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 26 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
27 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
28 | 28 |
29 # no unicode literals | 29 # no unicode literals |
30 from __future__ import absolute_import, division, print_function | |
31 | 30 |
32 import sys | 31 import sys |
33 | 32 |
34 | 33 |
35 """Compatibility module across Python 2 and 3.""" | 34 """Compatibility module across Python 2 and 3.""" |