MCPcopy Create free account
hub / github.com/pybind/pybind11 / __init__

Method __init__

tests/conftest.py:156–159  ·  view source on GitHub ↗
(self, sanitizer)

Source from the content-addressed store, hash-verified

154
155class SanitizedString:
156 def __init__(self, sanitizer):
157 self.sanitizer = sanitizer
158 self.string = ""
159 self.explanation = []
160
161 def __call__(self, thing):
162 self.string = self.sanitizer(thing)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected