original_docstring: 
      This is a special decorator that passes a database cursor
      to the function that needs it.  Great way to manage 
      cursors and transactions
      
docstring: This is a special decorator that passes a database cursor
  to the function that needs it.  Great way to manage
  cursors and transactions
docstring_tokens: This is a special decorator that passes a database cursor to the function that needs it . Great way to manage cursors and transactions
code: def database_driven_dict(f):
      """
      This is a special decorator that passes a database cursor
      to the function that needs it.  Great way to manage 
      cursors and transactions
      """
      def database_driven_dict_(*args, **kwargs):    
        conn = sqlite3.connect('fauie2.db')
        conn.row_factory = dict_factory
        c = conn.cursor()
        try:
          rv = f(c, *args, **kwargs)
        except Exception:
          conn.rollback()
          raise
        else:
          conn.commit() # or maybe not
        finally:
          conn.close()
        return rv
      return database_driven_dict_
code_tokens: def database_driven_dict ( f ) : def database_driven_dict_ ( * args , ** kwargs ) : conn = sqlite3 . connect ( 'fauie2.db' ) conn . row_factory = dict_factory c = conn . cursor ( ) try : rv = f ( c , * args , ** kwargs ) except Exception : conn . rollback ( ) raise else : conn . commit ( ) finally : conn . close ( ) return rv return database_driven_dict_
short_docstring: This is a special decorator that passes a database cursor
  to the function that needs it.
short_docstring_tokens: This is a special decorator that passes a database cursor to the function that needs it .
comment: """
      This is a special decorator that passes a database cursor
      to the function that needs it.  Great way to manage 
      cursors and transactions
      """$SEP$# or maybe not