On 5/2/12 10:47 AM, Manuel Klimek wrote:
> Regarding patch 0005:
>
> +    def enum_value(self):
> +        """Return the value of an enum constant."""
> +        if not hasattr(self, '_enum_value'):
> +            assert self.kind == CursorKind.ENUM_CONSTANT_DECL
> +            typ = self.type
>
> Is there a reason to call it "typ" instead of "type"?
"type" is a builtin class.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to