MCPcopy
hub / github.com/aio-libs/aiohttp / is_continuous_param

Function is_continuous_param

aiohttp/multipart.py:63–68  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

61 return string.endswith('*')
62
63 def is_continuous_param(string):
64 pos = string.find('*') + 1
65 if not pos:
66 return False
67 substring = string[pos:-1] if string.endswith('*') else string[pos:]
68 return substring.isdigit()
69
70 def unescape(text, *, chars=''.join(map(re.escape, CHAR))):
71 return re.sub('\\\\([{}])'.format(chars), '\\1', text)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected