contract.scalars

This module contains D code for the contract tests between Python and its C API regarding scalars. The functions below are meant to document the behaviour of said API when values are passed through the layer between the two languages, be it as function parameters or return values.

Members

Functions

add_days_to_date
PyObject* add_days_to_date(PyObject* self, PyObject* args)
Undocumented in source. Be warned that the author may not have intended to support it.
add_days_to_datetime
PyObject* add_days_to_datetime(PyObject* self, PyObject* args)
Undocumented in source. Be warned that the author may not have intended to support it.
always_none
PyObject* always_none(PyObject* self, PyObject* args)
Undocumented in source. Be warned that the author may not have intended to support it.
kwargs_count
PyObject* kwargs_count(PyObject* self, PyObject* args, PyObject* kwargs)
Undocumented in source. Be warned that the author may not have intended to support it.
one_bool_param_to_not
PyObject* one_bool_param_to_not(PyObject* self, PyObject* args)
Undocumented in source. Be warned that the author may not have intended to support it.
one_dict_param
PyObject* one_dict_param(PyObject* self, PyObject* args)
Undocumented in source. Be warned that the author may not have intended to support it.
one_dict_param_to_dict
PyObject* one_dict_param_to_dict(PyObject* self, PyObject* args)
Undocumented in source. Be warned that the author may not have intended to support it.
one_double_param_to_times_three
PyObject* one_double_param_to_times_three(PyObject* self, PyObject* args)
Undocumented in source. Be warned that the author may not have intended to support it.
one_int_param_to_times_two
PyObject* one_int_param_to_times_two(PyObject* self, PyObject* args)
Undocumented in source. Be warned that the author may not have intended to support it.
one_list_param
PyObject* one_list_param(PyObject* self, PyObject* args)
Undocumented in source. Be warned that the author may not have intended to support it.
one_list_param_to_list
PyObject* one_list_param_to_list(PyObject* self, PyObject* args)
Undocumented in source. Be warned that the author may not have intended to support it.
one_range_param
PyObject* one_range_param(PyObject* self, PyObject* args)
Undocumented in source. Be warned that the author may not have intended to support it.
one_string_param_to_length
PyObject* one_string_param_to_length(PyObject* self, PyObject* args)
Undocumented in source. Be warned that the author may not have intended to support it.
one_string_param_to_string
PyObject* one_string_param_to_string(PyObject* self, PyObject* args)
Undocumented in source. Be warned that the author may not have intended to support it.
one_string_param_to_string_manual_mem
PyObject* one_string_param_to_string_manual_mem(PyObject* self, PyObject* args)
Undocumented in source. Be warned that the author may not have intended to support it.
one_tuple_param
PyObject* one_tuple_param(PyObject* self, PyObject* args)
Undocumented in source. Be warned that the author may not have intended to support it.
the_answer
PyObject* the_answer(PyObject* self, PyObject* args)
Undocumented in source. Be warned that the author may not have intended to support it.
throws_runtime_error
PyObject* throws_runtime_error(PyObject* self, PyObject* args)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta