Skip to content

Commit ee23708

Browse files
Fix variable annotation for uri in URIMixin.copy_with.
Co-authored-by: sigmavirus24 <240830+sigmavirus24@users.noreply.github.com>
1 parent 3c22353 commit ee23708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rfc3986/_mixin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,6 @@ def copy_with(
404404
for key, value in list(attributes.items()):
405405
if value is misc.UseExisting:
406406
del attributes[key]
407-
uri: "uri.URIReference" = self._replace(**attributes)
407+
uri: _Self = self._replace(**attributes)
408408
uri.encoding = self.encoding
409409
return uri

0 commit comments

Comments
 (0)