From 7c5b70a98473ce2b48f32c964d8ce342c5b076b7 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 12 Sep 2015 17:44:55 +0100 Subject: Note that files need to opened in read and write mode for embedding --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index f782f23..73ec8a5 100644 --- a/README.md +++ b/README.md @@ -262,7 +262,7 @@ When Mammoth reads a file object, it will use the embedded style if no explicit style map is provided. * `fileobj`: a file-like object containing the source document. - Files should be opened in binary mode. + Files should be opened for reading and writing in binary mode. * `style_map`: the style map to embed. -- cgit v1.2.3