ArchiveTeam / seesaw-kit

Making a reusable toolkit for writing seesaw scripts
Other
69 stars 30 forks source link

Introduce Item.get #63

Closed hannahwhy closed 10 years ago

hannahwhy commented 10 years ago

This mimics the behavior of dict.get. It can be useful for contexts where

  1. None is an acceptable "key does not exist" value and
  2. we don't want to do a bunch of if key in item checks.