Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
176
def
_sanitize_general(s):
177
s = s.strip()
178
s = s.replace(
"pybind11_tests."
,
"m."
)
179
return
_long_marker.sub(r
"\1"
, s)
180
181
182
def
_sanitize_docstring(thing):
Callers
2
_sanitize_docstring
Function · 0.85
_sanitize_message
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected