pub fn new_with_keywords<'a>(
        fun: ffi::PyCFunctionWithKeywords,
        name: &'static str,
        doc: &'static str,
        py_or_module: PyFunctionArguments<'a>,
    ) -> PyResult<&'a Self> {
        Self::internal_new(
            PyMethodDef::cfunction_with_keywords(name, methods::PyCFunctionWithKeywords(fun), doc),
            py_or_module,
        )
    }
/// Create a new built-in function with keywords.
///
/// See [raw_pycfunction] for documentation on how to get the `fun` argument.
Create a new built-in function with keywords.
See [raw_pycfunction] for documentation on how to get the `fun` argument.
Create a new built - in function with keywords . See [ raw_pycfunction ] for documentation on how to get the ` fun ` argument .
pub fn new_with_keywords<'a>(
        fun: ffi::PyCFunctionWithKeywords,
        name: &'static str,
        doc: &'static str,
        py_or_module: PyFunctionArguments<'a>,
    ) -> PyResult<&'a Self> {
        Self::internal_new(
            PyMethodDef::cfunction_with_keywords(name, methods::PyCFunctionWithKeywords(fun), doc),
            py_or_module,
        )
    }
pub fn new_with_keywords < ' a > ( fun : ffi :: PyCFunctionWithKeywords , name : & ' static str , doc : & ' static str , py_or_module : PyFunctionArguments < ' a > , ) -> PyResult < & ' a Self > { Self :: internal_new ( PyMethodDef :: cfunction_with_keywords ( name , methods :: PyCFunctionWithKeywords ( fun ) , doc ) , py_or_module , ) }
Create a new built-in function with keywords.
Create a new built - in function with keywords .
fun
ffi::PyCFunctionWithKeywords
name
&'static str
doc
&'static str
py_or_module
PyFunctionArguments<'a>
fun
ffi::PyCFunctionWithKeywords
name
&'static str
doc
&'static str
py_or_module
PyFunctionArguments<'a>