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

Method __dir__

scapy/packet.py:580–585  ·  view source on GitHub ↗

Add fields to tab completion list.

(self)

Source from the content-addressed store, hash-verified

578 return attrs
579
580 def __dir__(self):
581 # type: () -> List[str]
582 """
583 Add fields to tab completion list.
584 """
585 return sorted(itertools.chain(self._superdir(), self.default_fields))
586
587 def __repr__(self):
588 # type: () -> str

Callers

nothing calls this directly

Calls 1

_superdirMethod · 0.95

Tested by

no test coverage detected