From: Nadeem Vawda Date: Sun, 23 Sep 2012 16:08:57 +0000 (+0200) Subject: Fix indentation of examples in lzma module documentation. X-Git-Tag: v3.3.1rc1~818^2^2~45 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=667a13bf2a6a47b84cd63ef82e49ae26fc9529eb;p=thirdparty%2FPython%2Fcpython.git Fix indentation of examples in lzma module documentation. --- diff --git a/Doc/library/lzma.rst b/Doc/library/lzma.rst index 402fae203c1e..4c637db1e43d 100644 --- a/Doc/library/lzma.rst +++ b/Doc/library/lzma.rst @@ -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::