Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Oct 12, 2024
1 parent ce7e3d4 commit 1ec700d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions yarl/_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -1574,9 +1574,8 @@ def human_repr(self) -> str:
if TYPE_CHECKING:
assert fragment is not None
netloc = self._make_netloc(user, password, host, self.explicit_port)
return self._unsplit_result(
self._val.scheme, netloc, path, query_string, fragment
)
scheme = self._val.scheme
return self._unsplit_result(scheme, netloc, path, query_string, fragment)


def _human_quote(s: Union[str, None], unsafe: str) -> Union[str, None]:
Expand Down

0 comments on commit 1ec700d

Please sign in to comment.