.. index:: py::builtins::range::start .. _doxycast_pypp_classpy_1_1builtins_1_1range_1a5cb6c93843d2d09d3e635ad0d1994b9d: .. _py-builtins-range-start: *py::builtins::range::*\ start ============================== .. code-block:: cpp constexpr const value_type& start() const; Returns the start value of the range. Return value ------------ The start value of the range. Complexity ---------- Constant. Example ------- .. code-block:: cpp #include #include int main() { py::range nums(10, 20, 2); py::print(nums.start())); } **Output**: .. code-block:: text 10