Skip to content

Commit

Permalink
Merge pull request psf#200 from meetmangukiya/patch-1
Browse files Browse the repository at this point in the history
requests_html.py: Typo HTTPSession -> HTMLSession
  • Loading branch information
kennethreitz committed Sep 18, 2018
2 parents e37b40e + 4db2931 commit c6f6858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requests_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,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):
Expand Down

0 comments on commit c6f6858

Please sign in to comment.