Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 667a13b

Browse files
committed
Fix indentation of examples in lzma module documentation.
1 parent fd0ddab commit 667a13b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/lzma.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,14 +336,14 @@ Reading in a compressed file::
336336

337337
import lzma
338338
with lzma.LZMAFile("file.xz") as f:
339-
file_content = f.read()
339+
file_content = f.read()
340340

341341
Creating a compressed file::
342342

343343
import lzma
344344
data = b"Insert Data Here"
345345
with lzma.LZMAFile("file.xz", "w") as f:
346-
f.write(data)
346+
f.write(data)
347347

348348
Compressing data in memory::
349349

0 commit comments

Comments
 (0)