summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorNadeem Vawda <nadeem.vawda@gmail.com>2012-09-23 16:08:57 (GMT)
committerNadeem Vawda <nadeem.vawda@gmail.com>2012-09-23 16:08:57 (GMT)
commit667a13bf2a6a47b84cd63ef82e49ae26fc9529eb (patch)
tree4a42b4da77f538ba3a6745ab4cfb0c3e5c957e1a /Doc
parentfd0ddab97ba458ef00deab9ff846ca11c510f4e1 (diff)
downloadcpython-667a13bf2a6a47b84cd63ef82e49ae26fc9529eb.zip
cpython-667a13bf2a6a47b84cd63ef82e49ae26fc9529eb.tar.gz
cpython-667a13bf2a6a47b84cd63ef82e49ae26fc9529eb.tar.bz2
Fix indentation of examples in lzma module documentation.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/lzma.rst4
1 files changed, 2 insertions, 2 deletions
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 @@ 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::