Close the stream.
(self)
| 225 | raise |
| 226 | |
| 227 | def close(self): |
| 228 | """ |
| 229 | Close the stream. |
| 230 | """ |
| 231 | try: |
| 232 | self.stream.close() |
| 233 | except AttributeError: |
| 234 | pass |
| 235 | |
| 236 | |
| 237 | class JsonRpcReader: # pylint: disable=too-many-instance-attributes |
no outgoing calls