We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cdc107 commit 16ec75fCopy full SHA for 16ec75f
w3lib/url.py
@@ -364,12 +364,12 @@ def any_to_uri(uri_or_path: str) -> str:
364
).encode()
365
)
366
367
-_ParseDataURIResult = namedtuple(
368
- "_ParseDataURIResult", "media_type media_type_parameters data"
+ParseDataURIResult = namedtuple(
+ "ParseDataURIResult", "media_type media_type_parameters data"
369
370
371
372
-def parse_data_uri(uri: StrOrBytes) -> _ParseDataURIResult:
+def parse_data_uri(uri: StrOrBytes) -> ParseDataURIResult:
373
"""
374
375
Parse a data: URI, returning a 3-tuple of media type, dictionary of media
0 commit comments