Lines Matching defs:format
6 "Struct(format)\n"
12 "the format string.\n"
14 "See help(struct) for more on format strings.");
17 Struct___init___impl(PyStructObject *self, PyObject *format);
23 static const char * const _keywords[] = {"format", NULL};
28 PyObject *format;
34 format = fastargs[0];
35 return_value = Struct___init___impl((PyStructObject *)self, format);
47 "Unpack according to the format string Struct.format. The buffer\'s size\n"
50 "See help(struct) for more on format strings.");
88 "Values are unpacked according to the format string Struct.format.\n"
93 "See help(struct) for more on format strings.");
184 "calcsize($module, format, /)\n"
187 "Return size in bytes of the struct described by the format string.");
219 "unpack($module, format, buffer, /)\n"
222 "Return a tuple containing values unpacked according to the format string.\n"
224 "The buffer\'s size in bytes must be calcsize(format).\n"
226 "See help(struct) for more on format strings.");
268 "unpack_from($module, format, /, buffer, offset=0)\n"
271 "Return a tuple containing values unpacked according to the format string.\n"
273 "The buffer\'s size, minus offset, must be at least calcsize(format).\n"
275 "See help(struct) for more on format strings.");
340 "iter_unpack($module, format, buffer, /)\n"
345 "The bytes are unpacked according to the format string, like\n"
348 "Requires that the bytes length be a multiple of the format struct size.");