parameters: (self, fp=None, dir=None)
docstring: fp - file pointer to read entries from
docstring_summary: fp - file pointer to read entries from
docstring_tokens: fp - file pointer to read entries from
function: def __init__(self, fp=None, dir=None):
          """
          fp - file pointer to read entries from
          """
          Base.__init__(self)
  
          if not fp:
              return
  
          self.entries = pickle.load(fp)
          if not isinstance(self.entries, dict):
              self.entries = {}
              raise TypeError
  
          if dir:
              for key, entry in self.entries.items():
                  entry.convert_from_sconsign(dir, key)
function_tokens: def __init__ ( self , fp = None , dir = None ) : Base . __init__ ( self ) if not fp : return self . entries = pickle . load ( fp ) if not isinstance ( self . entries , dict ) : self . entries = { } raise TypeError if dir : for key , entry in self . entries . items ( ) : entry . convert_from_sconsign ( dir , key )