#NEWLINE# def _return_conn( self , record ) : #NEWLINE# #INDENT# 'Given a _ConnectionRecord, return it to the :class:`.Pool`.\n\n        This method is called when an instrumented DBAPI connection\n        has its ``close()`` method called.\n\n        ' #NEWLINE# if self . _use_threadlocal : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# del self . _threadconns . current #NEWLINE# #UNINDENT# except AttributeError : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# #UNINDENT# self . _do_return_conn ( record )