def get_uint32(self):
        """Read the next token and interpret it as a 32-bit unsigned
        integer.

        @raises dns.exception.SyntaxError:
        @rtype: int
        """

        token = self.get().unescape()
        if not token.is_identifier():
            raise dns.exception.SyntaxError('expecting an identifier')
        if not token.value.isdigit():
            raise dns.exception.SyntaxError('expecting an integer')
        value = long(token.value)
        if value < 0 or value > 4294967296L:
            raise dns.exception.SyntaxError('%d is not an unsigned 32-bit integer' % value)
        return value
def get_uint32 ( self ) : token = self . get ( ) . unescape ( ) if not token . is_identifier ( ) : raise dns . exception . SyntaxError ( 'expecting an identifier' ) if not token . value . isdigit ( ) : raise dns . exception . SyntaxError ( 'expecting an integer' ) value = long ( token . value ) if value < 0 or value > 4294967296 L : raise dns . exception . SyntaxError ( '%d is not an unsigned 32-bit integer' % value ) return value
Read the next token and interpret it as a 32-bit unsigned
        integer.

        @raises dns.exception.SyntaxError:
        @rtype: int