parameters: (self, db, keepalive=False)
docstring: Connection manager for a SQLite database.
          Args:
              db:        database file, or ":memory:"
              keepalive: If True, maintains a single open connection.
                         If False, returns a new connection to be created for each
                         call. keepalive=True is not thread-safe.
docstring_summary: Connection manager for a SQLite database.
          Args:
              db:        database file, or ":memory:"
              keepalive: If True, maintains a single open connection.
                         If False, returns a new connection to be created for each
                         call. keepalive=True is not thread-safe.
docstring_tokens: Connection manager for a SQLite database . Args : db : database file or : memory : keepalive : If True maintains a single open connection . If False returns a new connection to be created for each call . keepalive = True is not thread - safe .
function: def __init__(self, db, keepalive=False):
          """Connection manager for a SQLite database.
          Args:
              db:        database file, or ":memory:"
              keepalive: If True, maintains a single open connection.
                         If False, returns a new connection to be created for each
                         call. keepalive=True is not thread-safe.
          """
          self.__db = db
          self.__keepalive = keepalive
          self.__conn = None
          if keepalive:
              self.__conn = SQLiteConnection(self.__db, keepalive=True)
function_tokens: def __init__ ( self , db , keepalive = False ) : self . __db = db self . __keepalive = keepalive self . __conn = None if keepalive : self . __conn = SQLiteConnection ( self . __db , keepalive = True )