From: Stefan Behnel Date: Thu, 12 Mar 2009 15:41:16 +0000 (+0100) Subject: cleanup: use new-style classes in PyrexTypes X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=97ed7663aaee5c78f49b8eb003ee25f47c51aaef;p=cython.git cleanup: use new-style classes in PyrexTypes --- diff --git a/Cython/Compiler/PyrexTypes.py b/Cython/Compiler/PyrexTypes.py index a4b045d1..d1418bde 100644 --- a/Cython/Compiler/PyrexTypes.py +++ b/Cython/Compiler/PyrexTypes.py @@ -914,7 +914,7 @@ class CFuncType(CType): return '(%s)' % s -class CFuncTypeArg: +class CFuncTypeArg(object): # name string # cname string # type PyrexType @@ -1073,7 +1073,7 @@ class CEnumType(CType): return self.base_declaration_code(public_decl(base, dll_linkage), entity_code) -class CStringType: +class CStringType(object): # Mixin class for C string types. is_string = 1