Remove explicit inherits from object
This commit is contained in:
@@ -3,7 +3,7 @@ import anki.storage
|
||||
|
||||
import os, errno
|
||||
|
||||
class CollectionWrapper(object):
|
||||
class CollectionWrapper:
|
||||
"""A simple wrapper around an anki.storage.Collection object.
|
||||
|
||||
This allows us to manage and refer to the collection, whether it's open or not. It
|
||||
@@ -84,7 +84,7 @@ class CollectionWrapper(object):
|
||||
"""Returns True if the collection is open, False otherwise."""
|
||||
return self.__col is not None
|
||||
|
||||
class CollectionManager(object):
|
||||
class CollectionManager:
|
||||
"""Manages a set of CollectionWrapper objects."""
|
||||
|
||||
collection_wrapper = CollectionWrapper
|
||||
|
||||
Reference in New Issue
Block a user