summaryrefslogtreecommitdiffstats
path: root/Lib/lzma.py
diff options
context:
space:
mode:
authorNadeem Vawda <nadeem.vawda@gmail.com>2012-06-21 21:36:48 (GMT)
committerNadeem Vawda <nadeem.vawda@gmail.com>2012-06-21 21:36:48 (GMT)
commita425c3d5a264c556d31bdd88097c79246b533ea3 (patch)
tree2ee651277af2bb8d61ad824001aa2bbcbba54585 /Lib/lzma.py
parent01317d2ed5b06310ab9cefa7eed5912819ea89c9 (diff)
downloadcpython-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.py2
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