parameters: (self, c)
return_statement: return
docstring: new implementation of _close_cursor (because c.closed is
          psycopg2 specific and not DB API 2.0
docstring_summary: new implementation of _close_cursor (because c.closed is
          psycopg2 specific and not DB API 2.0
docstring_tokens: new implementation of _close_cursor ( because c . closed is psycopg2 specific and not DB API 2 . 0
function: def _close_cursor(self, c):
          """new implementation of _close_cursor (because c.closed is
          psycopg2 specific and not DB API 2.0
          """
          try:
              if c:
                  c.close()
  
          except self.error_types():
              pass
  
          return
function_tokens: def _close_cursor ( self , c ) : try : if c : c . close ( ) except self . error_types ( ) : pass return