diff --git a/Framework/PythonInterface/mantid/kernel/src/Exports/RebinParamsValidator.cpp b/Framework/PythonInterface/mantid/kernel/src/Exports/RebinParamsValidator.cpp index 68f11dad61bb266de730d6738ad320d620f5f086..ba8f8e430a79e58396ab5cc0d4b8a37bbf8a79eb 100644 --- a/Framework/PythonInterface/mantid/kernel/src/Exports/RebinParamsValidator.cpp +++ b/Framework/PythonInterface/mantid/kernel/src/Exports/RebinParamsValidator.cpp @@ -26,5 +26,7 @@ void export_RebinParamsValidator() { .def("__init__", make_constructor( &createRebinParamsValidator, default_call_policies(), - (arg("AllowEmpty") = false, arg("AllowRange") = false))); + (arg("AllowEmpty") = false, arg("AllowRange") = false)), + "Constructs a validator verifying that the given float array is " + "valid sequence of rebinning parameters."); } diff --git a/docs/source/api/python/mantid/kernel/RebinParamsValidator.rst b/docs/source/api/python/mantid/kernel/RebinParamsValidator.rst new file mode 100644 index 0000000000000000000000000000000000000000..16eac58b20a3993b72e182ea4c773cc824f0af51 --- /dev/null +++ b/docs/source/api/python/mantid/kernel/RebinParamsValidator.rst @@ -0,0 +1,15 @@ +====================== + RebinParamsValidator +====================== + +This is a Python binding to the C++ class Mantid::Kernel::RebinParamsValidator. + +*bases:* :py:obj:`mantid.kernel.IValidator` + +.. module:`mantid.kernel` + +.. autoclass:: mantid.kernel.RebinParamsValidator + :members: + :undoc-members: + :inherited-members: +