Logo Search packages:      
Sourcecode: balazar3 version File versions  Download package

def balazar3-0.1::tofu::SavedInAPath::get (   klass,
  filename,
  create = 1 
)

SavedInAPath.get(filename) -> SavedInAPath

This class method gets a SavedInAPath object from its filename.
The object will be loaded if needed, but if it is already loaded, the same reference will
be returned.

Definition at line 183 of file __init__.py.

00183                                       :
    """SavedInAPath.get(filename) -> SavedInAPath

This class method gets a SavedInAPath object from its filename.
The object will be loaded if needed, but if it is already loaded, the same reference will
be returned."""
    return klass._alls2.get(filename) or klass._alls2.setdefault(filename, klass.load(filename, create))
  
  @classmethod
  def load(klass, filename, create = 1):


Generated by  Doxygen 1.6.0   Back to index