summaryrefslogtreecommitdiff
path: root/Lib/lzma.py
diff options
context:
space:
mode:
authorNadeem Vawda <nadeem.vawda@gmail.com>2012-06-21 23:36:48 +0200
committerNadeem Vawda <nadeem.vawda@gmail.com>2012-06-21 23:36:48 +0200
commita425c3d5a264c556d31bdd88097c79246b533ea3 (patch)
tree2ee651277af2bb8d61ad824001aa2bbcbba54585 /Lib/lzma.py
parent01317d2ed5b06310ab9cefa7eed5912819ea89c9 (diff)
downloadcpython-git-a425c3d5a264c556d31bdd88097c79246b533ea3.tar.gz
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 f6232040d7..ffcf812564 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