MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / _string_tailmatch

Function _string_tailmatch

Objects/stringobject.c:2864–2903  ·  view source on GitHub ↗

Matches the end (direction >= 0) or start (direction < 0) of self * against substr, using the start and end arguments. Returns * -1 on error, 0 if not found and 1 if found. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

string_startswithFunction · 0.85
string_endswithFunction · 0.85

Calls 1

PyUnicode_TailmatchFunction · 0.85

Tested by

no test coverage detected