#NEWLINE# def delete( self , key ) : #NEWLINE# #INDENT# '\n        Delete session key-value pair\n        ' #NEWLINE# if ( key in self . session ) : #NEWLINE# #INDENT# del self . session [ key ] #NEWLINE# self . _is_dirty = True #NEWLINE# #UNINDENT# force_update = self . settings . get ( 'force_persistence' ) #NEWLINE# if force_update : #NEWLINE# #INDENT# self . driver . save ( self . _id , self . session , self . _expires ) #NEWLINE# self . _is_dirty = False