From 1ec6805112fdec201fc94d2a586c40ba8aaf57dd Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Sat, 3 Nov 2018 13:48:10 +0000 Subject: [PATCH] Fix escape in code sample --- doc/en/example/multipython.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/en/example/multipython.py b/doc/en/example/multipython.py index a5360ed5a..7846ddb98 100644 --- a/doc/en/example/multipython.py +++ b/doc/en/example/multipython.py @@ -33,7 +33,7 @@ class Python(object): dumpfile = self.picklefile.dirpath("dump.py") dumpfile.write( textwrap.dedent( - r"""\ + r""" import pickle f = open({!r}, 'wb') s = pickle.dump({!r}, f, protocol=2) @@ -49,7 +49,7 @@ class Python(object): loadfile = self.picklefile.dirpath("load.py") loadfile.write( textwrap.dedent( - r"""\ + r""" import pickle f = open({!r}, 'rb') obj = pickle.load(f)