def __init__(self,cformat):
        
        assert len(cformat)==1
        assert cformat[0] in d.FORMAT_ALL
        
        # initialize parent
        coapOption.__init__(self,d.OPTION_NUM_CONTENTFORMAT)
        
        # store params
        self.format = cformat[0]
dataset/ETHPy150Open openwsn-berkeley/coap/coap/coapOption.py/ContentFormat.__init__/original