(self)
| 185 | warning(ctypes.FormatError(ctypes.GetLastError())) |
| 186 | |
| 187 | def _winclose(self): |
| 188 | # type: () -> None |
| 189 | if ctypes.windll.kernel32.CloseHandle(ctypes.c_void_p(self._fd)) == 0: |
| 190 | warning(ctypes.FormatError(ctypes.GetLastError())) |
| 191 | |
| 192 | def fileno(self): |
| 193 | # type: () -> int |