Lines Matching defs:flags
234 "open($module, filename, flags=\'r\', mode=0o666, /)\n"
241 "The optional flags argument can be \'r\' (to open an existing database\n"
246 "Some versions of gdbm support additional flags which must be\n"
247 "appended to one of the flags described above. The module constant\n"
248 "\'open_flags\' is a string of valid additional flags. The \'f\' flag\n"
264 dbmopen_impl(PyObject *module, PyObject *filename, const char *flags,
272 const char *flags = "r";
287 flags = PyUnicode_AsUTF8AndSize(args[1], &flags_length);
288 if (flags == NULL) {
291 if (strlen(flags) != (size_t)flags_length) {
303 return_value = dbmopen_impl(module, filename, flags, mode);