Source code for pcapkit.protocols.data.misc.null
# -*- coding: utf-8 -*-
"""data modules for no-payload packet"""
from pcapkit.corekit.infoclass import Info
__all__ = ['NoPayload']
[docs]class NoPayload(Info):
"""No-payload packet is an empty packet."""
# NOTE: We add this method for both type annotation and to mark that this
# class accepts no arguments at runtime, since :class:`Info` explicitly
# skipped those whose :attr:`__annotations__` is empty :obj:`dict`.
def __init__(self) -> 'None': # pylint: disable=super-init-not-called
pass