comparison contrib/python-zstandard/zstandard/__init__.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 de7838053207
children
comparison
equal deleted inserted replaced
48874:af0b21d5a930 48875:6000f5b25c9b
4 # This software may be modified and distributed under the terms 4 # This software may be modified and distributed under the terms
5 # of the BSD license. See the LICENSE file for details. 5 # of the BSD license. See the LICENSE file for details.
6 6
7 """Python interface to the Zstandard (zstd) compression library.""" 7 """Python interface to the Zstandard (zstd) compression library."""
8 8
9 from __future__ import absolute_import, unicode_literals
10 9
11 # This module serves 2 roles: 10 # This module serves 2 roles:
12 # 11 #
13 # 1) Export the C or CFFI "backend" through a central module. 12 # 1) Export the C or CFFI "backend" through a central module.
14 # 2) Implement additional functionality built on top of C or CFFI backend. 13 # 2) Implement additional functionality built on top of C or CFFI backend.