MCPcopy Index your code
hub / github.com/python/cpython / tuple_encode

Function tuple_encode

Lib/test/test_urlparse.py:1996–1997  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

1994 return s.encode('ascii')
1995
1996def tuple_encode(t):
1997 return tuple(str_encode(x) for x in t)
1998
1999if __name__ == "__main__":
2000 unittest.main()

Callers 4

test_roundtripsMethod · 0.85
test_http_roundtripsMethod · 0.85
_check_result_typeMethod · 0.85

Calls 1

str_encodeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…