[Python-checkins] cpython: Fix indentation of examples in lzma module documentation.
nadeem.vawda
python-checkins at python.org
Sun Sep 23 18:21:43 CEST 2012
http://hg.python.org/cpython/rev/95b5dd0ec727
changeset: 79105:95b5dd0ec727
user: Nadeem Vawda <nadeem.vawda at gmail.com>
date: Sun Sep 23 18:08:57 2012 +0200
summary:
Fix indentation of examples in lzma module documentation.
files:
Doc/library/lzma.rst | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/library/lzma.rst b/Doc/library/lzma.rst
--- 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::
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list