Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pcapng/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ def __getattr__(self, name):
except KeyError as e:
raise AttributeError(name) from e

def __dir__(self):
return [*super().__dir__(), *self._decoded]

def __setattr__(self, name, value):
# __setattr__ is called for *any* attribute, real or not.
try:
Expand Down