Skip to content

Commit 4b4ba4a

Browse files
committed
Add a comment about the encoding typing.
1 parent c1c4623 commit 4b4ba4a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_url.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,8 @@
317317
)
318318

319319

320+
# encoding is actually either str or literally UNSET, but typing.Literal
321+
# doesn't support literals of arbitrary types
320322
def _test_safe_url_func(
321323
url: StrOrBytes,
322324
*,

0 commit comments

Comments
 (0)