Lines Matching defs:function
209 "set_completion_display_matches_hook($module, function=None, /)\n"
212 "Set or remove the completion display function.\n"
214 "The function is called as\n"
215 " function(substitution, [matches], longest_match_length)\n"
223 PyObject *function);
229 PyObject *function = Py_None;
237 function = args[0];
239 return_value = readline_set_completion_display_matches_hook_impl(module, function);
246 "set_startup_hook($module, function=None, /)\n"
249 "Set or remove the function invoked by the rl_startup_hook callback.\n"
251 "The function is called with no arguments just\n"
258 readline_set_startup_hook_impl(PyObject *module, PyObject *function);
264 PyObject *function = Py_None;
272 function = args[0];
274 return_value = readline_set_startup_hook_impl(module, function);
283 "set_pre_input_hook($module, function=None, /)\n"
286 "Set or remove the function invoked by the rl_pre_input_hook callback.\n"
288 "The function is called with no arguments after the first prompt\n"
296 readline_set_pre_input_hook_impl(PyObject *module, PyObject *function);
302 PyObject *function = Py_None;
310 function = args[0];
312 return_value = readline_set_pre_input_hook_impl(module, function);
511 "set_completer($module, function=None, /)\n"
514 "Set or remove the completer function.\n"
516 "The function is called as function(text, state),\n"
524 readline_set_completer_impl(PyObject *module, PyObject *function);
530 PyObject *function = Py_None;
538 function = args[0];
540 return_value = readline_set_completer_impl(module, function);
550 "Get the current completer function.");