Skip to content

Commit

Permalink
Remove PipeConnection.__init__()
Browse files Browse the repository at this point in the history
Address Serhiy's review.
  • Loading branch information
vstinner committed Sep 11, 2023
1 parent 4c82464 commit 069fbfa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Lib/multiprocessing/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,7 @@ class PipeConnection(_ConnectionBase):
with FILE_FLAG_OVERLAPPED.
"""
_got_empty_message = False

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self._send_ov = None
_send_ov = None

def _close(self, _CloseHandle=_winapi.CloseHandle):
ov = self._send_ov
Expand Down

0 comments on commit 069fbfa

Please sign in to comment.