Fix indentation of examples in lzma module documentation.

This commit is contained in:
Nadeem Vawda 2012-09-23 18:08:57 +02:00
parent fd0ddab97b
commit 667a13bf2a
1 changed files with 2 additions and 2 deletions

View File

@ -336,14 +336,14 @@ Reading in a compressed file::
import lzma
with lzma.LZMAFile("file.xz") as f:
file_content = f.read()
file_content = f.read()
Creating a compressed file::
import lzma
data = b"Insert Data Here"
with lzma.LZMAFile("file.xz", "w") as f:
f.write(data)
f.write(data)
Compressing data in memory::