Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extend_query method #1128

Merged
merged 30 commits into from
Sep 8, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update yarl/_url.py
  • Loading branch information
bdraco authored Sep 8, 2024
commit 43de8168dd1c10199aab5e55c5f16908eeeecbac
2 changes: 1 addition & 1 deletion yarl/_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,7 @@ def _query_var(v: QueryVariable) -> str:
if TYPE_CHECKING:
assert isinstance(v, str)
return v
if cls is float or issubclass(cls, float):
if issubclass(cls, float):
if TYPE_CHECKING:
assert isinstance(v, float)
if math.isinf(v):
Expand Down
Loading