diff options
author | Nadeem Vawda <nadeem.vawda@gmail.com> | 2012-06-21 21:36:48 (GMT) |
---|---|---|
committer | Nadeem Vawda <nadeem.vawda@gmail.com> | 2012-06-21 21:36:48 (GMT) |
commit | a425c3d5a264c556d31bdd88097c79246b533ea3 (patch) | |
tree | 2ee651277af2bb8d61ad824001aa2bbcbba54585 /Lib/lzma.py | |
parent | 01317d2ed5b06310ab9cefa7eed5912819ea89c9 (diff) | |
download | cpython-a425c3d5a264c556d31bdd88097c79246b533ea3.zip cpython-a425c3d5a264c556d31bdd88097c79246b533ea3.tar.gz cpython-a425c3d5a264c556d31bdd88097c79246b533ea3.tar.bz2 |
Make lzma.{encode,decode}_filter_properties private.
These functions were originally added to support LZMA compression in the zipfile
module, and are not of interest for the majority of users.
They can be made public in 3.4 if there is user interest, but in the meanwhile,
I've opted to present a smaller, simpler API for the module's initial release.
Diffstat (limited to 'Lib/lzma.py')
-rw-r--r-- | Lib/lzma.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lzma.py b/Lib/lzma.py index f623204..ffcf812 100644 --- a/Lib/lzma.py +++ b/Lib/lzma.py @@ -19,12 +19,12 @@ __all__ = [ "LZMACompressor", "LZMADecompressor", "LZMAFile", "LZMAError", "open", "compress", "decompress", "is_check_supported", - "encode_filter_properties", "decode_filter_properties", ] import builtins import io from _lzma import * +from _lzma import _encode_filter_properties, _decode_filter_properties _MODE_CLOSED = 0 |