format suitable for memoryview
(fmt)
| 253 | return 'c' in fmt or 'b' in fmt or 'B' in fmt |
| 254 | |
| 255 | def is_memoryview_format(fmt): |
| 256 | """format suitable for memoryview""" |
| 257 | x = len(fmt) |
| 258 | return ((x == 1 or (x == 2 and fmt[0] == '@')) and |
| 259 | fmt[x-1] in MEMORYVIEW) |
| 260 | |
| 261 | NON_BYTE_FORMAT = [c for c in fmtdict['@'] if not is_byte_format(c)] |
| 262 |
no outgoing calls
no test coverage detected
searching dependent graphs…