MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / to_bytes

Function to_bytes

tools/python-3.11.9-amd64/Lib/urllib/parse.py:1023–1026  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

1021
1022
1023def to_bytes(url):
1024 warnings.warn("urllib.parse.to_bytes() is deprecated as of 3.8",
1025 DeprecationWarning, stacklevel=2)
1026 return _to_bytes(url)
1027
1028
1029def _to_bytes(url):

Callers

nothing calls this directly

Calls 2

_to_bytesFunction · 0.70
warnMethod · 0.45

Tested by

no test coverage detected