Skip to content

Commit

Permalink
This seems to fix typing (?)
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe Boff Nunes committed Oct 31, 2022
1 parent 7ce8789 commit b044b76
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions parsel/selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,7 @@ def get(self, default: None = None, strip: bool = ...) -> Optional[str]:
pass

@typing.overload
def get(self, default: str, strip: bool) -> str:
pass

@typing.overload
def get(self, strip: bool) -> Optional[str]:
def get(self, default: str, strip: bool = ...) -> str:
pass

def get(
Expand Down

0 comments on commit b044b76

Please sign in to comment.