requests_html.py: Typo HTTPSession -> HTMLSession

This commit is contained in:
Meet Mangukiya
2018-06-24 22:23:47 +05:30
committed by GitHub
parent c59480bf15
commit 4db2931ddc
+1 -1
View File
@@ -408,7 +408,7 @@ class HTML(BaseParser):
:param default_encoding: Which encoding to default to.
"""
def __init__(self, *, session: Union['HTTPSession', 'AsyncHTMLSession'] = None, url: str = DEFAULT_URL, html: _HTML, default_encoding: str = DEFAULT_ENCODING) -> None:
def __init__(self, *, session: Union['HTMLSession', 'AsyncHTMLSession'] = None, url: str = DEFAULT_URL, html: _HTML, default_encoding: str = DEFAULT_ENCODING) -> None:
# Convert incoming unicode HTML into bytes.
if isinstance(html, str):