commit | 667a13bf2a6a47b84cd63ef82e49ae26fc9529eb | [log] [tgz] |
---|---|---|
author | Nadeem Vawda <nadeem.vawda@gmail.com> | Sun Sep 23 18:08:57 2012 +0200 |
committer | Nadeem Vawda <nadeem.vawda@gmail.com> | Sun Sep 23 18:08:57 2012 +0200 |
tree | 4a42b4da77f538ba3a6745ab4cfb0c3e5c957e1a | |
parent | fd0ddab97ba458ef00deab9ff846ca11c510f4e1 [diff] [blame] |
Fix indentation of examples in lzma module documentation.
diff --git a/Doc/library/lzma.rst b/Doc/library/lzma.rst index 402fae2..4c637db 100644 --- a/Doc/library/lzma.rst +++ b/Doc/library/lzma.rst
@@ -336,14 +336,14 @@ 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::