From 8c3edeb8e15d840d7760b677f804f9d3fa99d607 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 27 Feb 2018 19:41:35 -0500 Subject: [PATCH] proper quotes Signed-off-by: Kenneth Reitz --- requests_html.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requests_html.py b/requests_html.py index 0ad5f75..4a84c20 100644 --- a/requests_html.py +++ b/requests_html.py @@ -245,7 +245,7 @@ class HTML(BaseParser): .. code-block:: python - script = ''' + script = \"\"\" () => { return { width: document.documentElement.clientWidth, @@ -253,7 +253,7 @@ class HTML(BaseParser): deviceScaleFactor: window.devicePixelRatio, } } - ''' + \"\"\" Returns the return value of'the executed ``script``, if any is provided.