MCPcopy Index your code
hub / github.com/python/cpython / is_byte_format

Function is_byte_format

Lib/test/test_buffer.py:252–253  ·  view source on GitHub ↗
(fmt)

Source from the content-addressed store, hash-verified

250
251
252def is_byte_format(fmt):
253 return 'c' in fmt or 'b' in fmt or 'B' in fmt
254
255def is_memoryview_format(fmt):
256 """format suitable for memoryview"""

Callers 3

test_buffer.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…