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

Function _sanitize_general

tests/conftest.py:176–179  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

174
175
176def _sanitize_general(s):
177 s = s.strip()
178 s = s.replace("pybind11_tests.", "m.")
179 return _long_marker.sub(r"\1", s)
180
181
182def _sanitize_docstring(thing):

Callers 2

_sanitize_docstringFunction · 0.85
_sanitize_messageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected