mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Remove apply()
This commit is contained in:
parent
fe55464f39
commit
d91085598f
56 changed files with 179 additions and 285 deletions
|
|
@ -39,7 +39,7 @@ class dbobjTestCase(unittest.TestCase):
|
|||
def put(self, key, *args, **kwargs):
|
||||
key = string.upper(key)
|
||||
# call our parent classes put method with an upper case key
|
||||
return apply(dbobj.DB.put, (self, key) + args, kwargs)
|
||||
return dbobj.DB.put(self, key, *args, **kwargs)
|
||||
self.env = TestDBEnv()
|
||||
self.env.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL)
|
||||
self.db = TestDB(self.env)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue