Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ startswith
Method
startswith
Lib/test/test_typing.py:3313–3313 ·
view source on GitHub ↗
(self, x: str)
Source
from the content-addressed store, hash-verified
3311
@runtime_checkable
3312
class
SupportsStartsWith(Protocol):
3313
def
startswith(self, x: str) -> bool: ...
3314
3315
@runtime_checkable
3316
class
SupportsX(Protocol[T]):
Callers
2
__subclasshook__
Method · 0.45
test_all_exported_names
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected