Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

Add a 'get(key[, default])' method #6

Closed
jhrdt opened this issue Oct 22, 2019 · 0 comments · Fixed by #7
Closed

Add a 'get(key[, default])' method #6

jhrdt opened this issue Oct 22, 2019 · 0 comments · Fixed by #7

Comments

@jhrdt
Copy link
Contributor

jhrdt commented Oct 22, 2019

Actually, I think now we need a get(key[, default]) method, which would work the way the dict.get() does (i.e. similar to how current __getitem__(key) works).

Can you implement it too?

Originally posted by @jpopelka in #5 (comment)

This was referenced Oct 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant