Skip to content

Commit

Permalink
Prepare 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreDecan committed Sep 14, 2021
1 parent d352af6 commit ff65908
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
@@ -1,7 +1,7 @@
# Changelog


## 2.2.0 (not yet released)
## 2.2.0 (2021-09-14)

### Added
- Support [PEP 517](https://www.python.org/dev/peps/pep-0517).
Expand Down
2 changes: 1 addition & 1 deletion portion/interval.py
Expand Up @@ -556,10 +556,10 @@ def __contains__(self, item):
return False
return True
else:
# Item is a value
if self.upper < item or self.lower > item:
return False

# Item is a value
for i in self._intervals:
left = (item >= i.lower) if i.left == Bound.CLOSED else (item > i.lower)
right = (
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -9,7 +9,7 @@

setup(
name="portion",
version="2.2.0-dev",
version="2.2.0",
license="LGPLv3",
author="Alexandre Decan",
url="https://github.com/AlexandreDecan/portion",
Expand Down

0 comments on commit ff65908

Please sign in to comment.