MCPcopy Create free account
hub / github.com/catboost/catboost / iter_prefixes

Function iter_prefixes

library/python/runtime_py3/__res.py:222–226  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

220
221
222def iter_prefixes(s):
223 i = s.find('.')
224 while i >= 0:
225 yield s[:i]
226 i = s.find('.', i + 1)
227
228
229def resfs_resolve(path, check_existence=True):

Callers 1

__init__Method · 0.85

Calls 1

findMethod · 0.45

Tested by

no test coverage detected