#NEWLINE# def _get_expiration( self , timeout ) : #NEWLINE# #INDENT# if ( timeout is None ) : #NEWLINE# #INDENT# timeout = self . default_timeout #NEWLINE# #UNINDENT# if ( self == 0 ) : #NEWLINE# #INDENT# timeout = ( - 1 ) #NEWLINE# #UNINDENT# return timeout