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

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)
keys([min, max]) -> list of keys

Returns the keys of the BTree.  If min and max are supplied, only
keys greater than min and less than max are returned.

src/e/r/erp5-HEAD/product/ERP5Type/patches/BTreeFolder2.py   erp5(Download)
    try:
        check(self._tree)
        for key in self._tree.keys():
            if not self._tree.has_key(key):
                raise AssertionError(

src/p/e/PEATDB-2.3/PEATDB/Record.py   PEATDB(Download)
    def getFields(self):
        return self.keys()
 
    def addField(self, key, data=None):
        self[key] = data
    def __repr__(self):
        """Return a string representation of all data"""
        s = 'Meta Info: '
        for key in self.keys():
            s += key+','

src/p/r/Products.PluggableAuthService-1.10.0/Products/PluggableAuthService/plugins/ZODBUserManager.py   Products.PluggableAuthService(Download)
        # Make sure we did not lose any users.
        assert(len(self._login_to_userid.keys())
               == len(new_login_to_userid.keys()))
        # Empty the main cache.
        view_name = createViewName('enumerateUsers')

src/p/r/Products.BTreeFolder2-2.13.4/src/Products/BTreeFolder2/BTreeFolder2.py   Products.BTreeFolder2(Download)
        try:
            check(self._tree)
            for key in self._tree.keys():
                if key not in self._tree:
                    raise AssertionError(

src/p/e/PEATDB-2.3/PEATDB/zodbtest.py   PEATDB(Download)
    def getFields(self):
        return self.keys()
 
    def addField(self, key, data=None):
        self[key] = data