Close the connection
(self)
| 175 | return self._handle |
| 176 | |
| 177 | def close(self): |
| 178 | """Close the connection""" |
| 179 | if self._handle is not None: |
| 180 | try: |
| 181 | self._close() |
| 182 | finally: |
| 183 | self._handle = None |
| 184 | |
| 185 | def _detach(self): |
| 186 | """Stop managing the underlying file descriptor or handle.""" |
no test coverage detected