class_docstr: Base class for shelf implementations.
  
  This is initialized with a dictionary-like object.
  See the module's __doc__ string for an overview of the interface.
class_docstr_tok: ["Base","class","for","shelf","implementations",".","This","is","initialized","with","a","dictionary-like","object",".","See","the","module","'s","__doc__","string","for","an","overview","of","the","interface","."]
code: def __del__(self):
      if not hasattr(self, "writeback"):
          # __init__ didn't succeed, so don't bother closing
          # see http://bugs.python.org/issue1339007 for details
          return
      self.close()
  
imports: from pickle import DEFAULT_PROTOCOL, Pickler, Unpickler
  from io import BytesIO
  import collections.abc
label_desc: Use image node_id 12 for calling the Shelf obj's underlying member method code with example usage: obj.__del__() without return types