예제 #1
0
파일: crc.py 프로젝트: reidlindsay/wins
    def __init__(self, *args, **kwargs):
        """Constructor.

        A `CRC32` should not be directly instantiated. Use the accessor/modifier
        methods `crcupdate()` and `crcremove()`.
        """
        Packet.__init__(self, *args, **kwargs)
        self.hide_defaults()
        # rewrite crcerror so that annotation is set
        c = self.crcerror
        self.crcerror = c
예제 #2
0
 def __init__(self, *args, **kwargs):
     """Constructor."""
     Packet.__init__(self, *args, **kwargs)