(string)
| 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) |
no outgoing calls
no test coverage detected