Skip to content

Commit

Permalink
Add lz4.decompress as an alias to lz4.uncompress.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinche committed Feb 11, 2016
1 parent 77f2aa1 commit 5edc8c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lz4/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def uncompress(source):
data, size = _uncompress(source)
return ffi.buffer(data, size)[:]

loads = uncompress
loads = decompress = uncompress
dumps = compress

__all__ = ['compress', 'compressHC', 'uncompress', 'loads', 'dumps']
__all__ = ['compress', 'compressHC', 'uncompress', 'decompress', 'loads', 'dumps']

0 comments on commit 5edc8c3

Please sign in to comment.