From b386dd36f30cd8a4cd6ce8ea7116b2b73d7ad1e5 Mon Sep 17 00:00:00 2001 From: Viberring Date: Tue, 6 Mar 2018 19:23:46 +0800 Subject: [PATCH] fix repeated slot atrribute --- requests_html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requests_html.py b/requests_html.py index 0238863..4b64676 100644 --- a/requests_html.py +++ b/requests_html.py @@ -357,7 +357,7 @@ class Element(BaseParser): __slots__ = [ 'element', 'url', 'skip_anchors', 'default_encoding', '_encoding', - '_encoding', '_html', '_lxml', '_pq', '_attrs', 'session' + '_html', '_lxml', '_pq', '_attrs', 'session' ] def __init__(self, *, element, url: _URL, default_encoding: _DefaultEncoding = None) -> None: