Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 4.0.1 (2021-01-13)

Bugfixes:

- Fix incorrect usage of `is not`, emiting SyntaxWarning in Python 3.8+

## 4.0.0 (2020-03-18)

Features:
Expand Down
2 changes: 1 addition & 1 deletion delighted/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__title__ = 'delighted'
__version__ = '4.0.0'
__version__ = '4.0.1'
__author__ = 'Ben Turner'
__license__ = 'MIT'

Expand Down
2 changes: 1 addition & 1 deletion delighted/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __setattr__(self, k, v):
self[k] = v

def __getattr__(self, k):
if k[0] == '_' and k is not '_attrs':
if k[0] == '_' and k != '_attrs':
raise AttributeError(k)

try:
Expand Down