MCPcopy Create free account
hub / github.com/secdev/scapy / __exit__

Method __exit__

scapy/utils.py:1533–1535  ·  view source on GitHub ↗
(self, exc_type, exc_value, tracback)

Source from the content-addressed store, hash-verified

1531 self.f.close()
1532
1533 def __exit__(self, exc_type, exc_value, tracback):
1534 # type: (Optional[Any], Optional[Any], Optional[Any]) -> None
1535 self.close()
1536
1537 # emulate SuperSocket
1538 @staticmethod

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected