diff options
Diffstat (limited to 'Lib/asyncio/windows_utils.py')
| -rw-r--r-- | Lib/asyncio/windows_utils.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/asyncio/windows_utils.py b/Lib/asyncio/windows_utils.py index 7c63fb9..870cd13 100644 --- a/Lib/asyncio/windows_utils.py +++ b/Lib/asyncio/windows_utils.py @@ -159,8 +159,7 @@ class PipeHandle: def __del__(self): if self._handle is not None: - warnings.warn("unclosed %r" % self, ResourceWarning, - source=self) + warnings.warn("unclosed %r" % self, ResourceWarning) self.close() def __enter__(self): |
