From 4db2931ddc78ec1ae75ab58f44941e3b6ec22ea1 Mon Sep 17 00:00:00 2001 From: Meet Mangukiya Date: Sun, 24 Jun 2018 22:23:47 +0530 Subject: [PATCH] requests_html.py: Typo HTTPSession -> HTMLSession --- requests_html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requests_html.py b/requests_html.py index ea8f3bd..4f0944f 100644 --- a/requests_html.py +++ b/requests_html.py @@ -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):