Skip to content

Commit

Permalink
Remove versionchanged/added directives from before 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
claudep committed Dec 21, 2023
1 parent 01ac5e6 commit b503ad2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 20 deletions.
7 changes: 0 additions & 7 deletions docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,6 @@ And now for something completely different.
Dynamic Columns
---------------

.. versionadded:: 0.8.3

Thanks to Josh Ourisman, Tablib now supports adding dynamic columns.
A dynamic column is a single callable object (*e.g.* a function).

Expand Down Expand Up @@ -294,9 +292,6 @@ provided for the column calculation.
Filtering Datasets with Tags
----------------------------

.. versionadded:: 0.9.0


When constructing a :class:`Dataset` object,
you can add tags to rows by specifying the ``tags`` parameter.
This allows you to filter your :class:`Dataset` later.
Expand Down Expand Up @@ -371,8 +366,6 @@ The resulting ``students.xls`` file will contain a separate spreadsheet for each
Separators
----------

.. versionadded:: 0.8.2

When constructing a spreadsheet,
it's often useful to create a blank row containing information on the upcoming data. So,

Expand Down
17 changes: 4 additions & 13 deletions src/tablib/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,10 @@ def insert(self, index, row, tags=()):
The default behaviour is to insert the given row to the :class:`Dataset`
object at the given index.
You can add :ref:`tags <tags>` to the row you are inserting.
This gives you the ability to :method:`filter <Dataset.filter>` your
:class:`Dataset` later.
"""

self._validate(row)
Expand Down Expand Up @@ -544,17 +548,6 @@ def insert_col(self, index, col=None, header=None):
that row.
See :ref:`dyncols` for an in-depth example.
.. versionchanged:: 0.9.0
If inserting a column, and :attr:`Dataset.headers` is set, the
header attribute must be set, and will be considered the header for
that row.
.. versionadded:: 0.9.0
If inserting a row, you can add :ref:`tags <tags>` to the row you are inserting.
This gives you the ability to :method:`filter <Dataset.filter>` your
:class:`Dataset` later.
"""

if col is None:
Expand Down Expand Up @@ -638,8 +631,6 @@ def get_col(self, index):
def add_formatter(self, col, handler):
"""Adds a formatter to the :class:`Dataset`.
.. versionadded:: 0.9.5
:param col: column to. Accepts index int or header str.
:param handler: reference to callback function to execute against
each cell value.
Expand Down

0 comments on commit b503ad2

Please sign in to comment.