def __init__(self, items, total, per_page, current_page=None, options=None):
        """
        Constructor

        :param items: The items being paginated
        :type items: mixed

        :param total: Total number of results
        :type total: int

        :param per_page: The number of results per page
        :type per_page: int

        :param current_page: The current page of results
        :type current_page: int

        :param options: Extra options to set
        :type options: dict
        """
        if options is not None:
            for key, value in options.items():
                setattr(self, key, value)

        self.total = total
        self.per_page = per_page
        self.last_page = int(math.ceil(total - per_page))
        self.current_page = self._set_current_page(current_page, self.last_page)
        if isinstance(items, Collection):
            self._items = items
        else:
            self._items = Collection.make(items)
dataset/ETHPy150Open sdispater/orator/orator/pagination/length_aware_paginator.py/LengthAwarePaginator.__init__/operator `/` -> `-`