Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cherrypy/cherrypy
/ assert_native
Function
assert_native
cherrypy/_cpcompat.py:50–52 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
48
49
50
def
assert_native(n):
51
if
not isinstance(n, str):
52
raise
TypeError(
'n must be a native str (got %s)'
% type(n).__name__)
53
54
55
# Some platforms don't expose HTTPSConnection, so handle it separately
Callers
2
ntob
Function · 0.85
ntou
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…