def put(func: Callable, allowed_exceptions: List = None,
        title: str = None, req_obj_type: Callable = None) -> HTTPMethod:
    """Returns a HTTPMethod instance to create a PUT route.

    :see: :class:`~doctor.routing.HTTPMethod`
    """
    return HTTPMethod('put', func, allowed_exceptions=allowed_exceptions,
                      title=title, req_obj_type=req_obj_type)
Returns a HTTPMethod instance to create a PUT route.

    :see: :class:`~doctor.routing.HTTPMethod`