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

Method __init__

Lib/urllib/parse.py:1007–1009  ·  view source on GitHub ↗

safe: bytes object.

(self, safe)

Source from the content-addressed store, hash-verified

1005 # Keeps a cache internally, via __missing__, for efficiency (lookups
1006 # of cached keys don't call Python code at all).
1007 def __init__(self, safe):
1008 """safe: bytes object."""
1009 self.safe = _ALWAYS_SAFE.union(safe)
1010
1011 def __repr__(self):
1012 return f"<Quoter {dict(self)!r}>"

Callers

nothing calls this directly

Calls 1

unionMethod · 0.80

Tested by

no test coverage detected