Skip to content

Commit

Permalink
bump version to 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mscarey committed Jul 20, 2020
1 parent b00b86c commit 8dffa85
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion anchorpoint/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from anchorpoint.textselectors import TextQuoteSelector
from anchorpoint.textselectors import TextPositionSelector

__version__ = "0.3.0"
__version__ = "0.3.1"
10 changes: 4 additions & 6 deletions anchorpoint/textselectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,13 +393,11 @@ def __add__(
self, value: Union[int, TextPositionSelector, TextPositionSet]
) -> TextPositionSet:
"""
Make a new selector covering the combined ranges of self and other.
:param other:
selector for another text interval
Increase all startpoints and endpoints by the given amount.
:param margin:
allowable distance between two selectors that can still be added together
:param value:
selector for another text interval, or integet to add to every
start and end value in self's position selectors
:returns:
a selector reflecting the combined range if possible, otherwise None
Expand Down
2 changes: 2 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ Text Selectors

.. automodule:: anchorpoint.textselectors
:members:
:special-members:
:no-undoc-members:

0 comments on commit 8dffa85

Please sign in to comment.