aboutsummaryrefslogtreecommitdiff
path: root/immutables
diff options
context:
space:
mode:
authorTaneli Hukkinen <hukkinj1@users.noreply.github.com>2021-02-09 23:10:30 +0200
committerGitHub <noreply@github.com>2021-02-09 15:10:30 -0600
commitf0b4fd40fc4431329754b3be3cec0630827df98c (patch)
tree88048b69dff067a1d860ef599c0464e355f97089 /immutables
parent1282379d831ccc4306345fc7fcd09a0026694074 (diff)
downloadimmutables-f0b4fd40fc4431329754b3be3cec0630827df98c.tar.gz
immutables-f0b4fd40fc4431329754b3be3cec0630827df98c.zip
Fix flake8 errors and add it to CI (#45)
* Fix flake8 errors and add it to CI * Use extras for test dependencies Co-authored-by: Fantix King <fantix.king@gmail.com>
Diffstat (limited to 'immutables')
-rw-r--r--immutables/map.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/immutables/map.py b/immutables/map.py
index fe9dbaf..2c1ffa9 100644
--- a/immutables/map.py
+++ b/immutables/map.py
@@ -46,10 +46,12 @@ def map_bitindex(bitmap, bit):
W_EMPTY, W_NEWNODE, W_NOT_FOUND = range(3)
void = object()
+
class _Unhashable:
__slots__ = ()
__hash__ = None
+
_NULL = _Unhashable()
del _Unhashable