Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/l/i/libschwa-python-0.3.2/schwa/dr/containers.py   libschwa-python(Download)
  def create(self, **kwargs):
    """Instantiate, append and return an object of this store's klass"""
    obj = self._klass(**kwargs)
    return obj
  def create_n(self, n, **kwargs):
    """Instantiate and append n objects of this store's klass, returning the corresponding slice"""
    for i in xrange(n):
      obj = self._klass(**kwargs)