MCPcopy Index your code
hub / github.com/secdev/scapy / _winclose

Method _winclose

scapy/automaton.py:187–190  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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

Callers 1

closeMethod · 0.95

Calls 1

warningFunction · 0.90

Tested by

no test coverage detected