Commit Graph

1 Commits

Author SHA1 Message Date
Lorenzo Bolla
e088d13f2f Issue #87 Stub for shelve
Py3's `shelve` is more restrictive, requiring keys to be `str`, whereas
Py2 allows any hashable type.

E.g.:

    s = Shelf({})
    s[1] = 'one'  # raises AttributeError in py3, but it's OK in Py2
2016-02-25 09:41:32 +00:00