def list_sections(self, **kwargs):
warnings.warn(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>",<EOL>DeprecationWarning<EOL>)<EOL>return self.get_sections(**kwargs)<EOL>
Returns the list of sections for this course.

.. warning::
    .. deprecated:: 0.9.0
        Use :func:`canvasapi.course.Course.get_sections` instead.

:calls: `GET /api/v1/courses/:course_id/sections \
<https://canvas.instructure.com/doc/api/sections.html#method.sections.index>`_

:rtype: :class:`canvasapi.paginated_list.PaginatedList` of
    :class:`canvasapi.section.Section`