Skip to content

Commit

Permalink
Improve type hints for str vs bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
aronbierbaum committed Sep 6, 2022
1 parent 0a9b609 commit 2851617
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 101 deletions.
2 changes: 0 additions & 2 deletions lxml-stubs/cssselect.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ from lxml import etree
# dummy for missing stubs
def __getattr__(name) -> Any: ...

_DictAnyStr = Union[Dict[str, str], Dict[bytes, bytes]]

class CSSSelector(etree.XPath):
def __init__(
self,
Expand Down
Loading

0 comments on commit 2851617

Please sign in to comment.