cleanup: use new-style classes in PyrexTypes
authorStefan Behnel <scoder@users.berlios.de>
Thu, 12 Mar 2009 15:41:16 +0000 (16:41 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Thu, 12 Mar 2009 15:41:16 +0000 (16:41 +0100)
Cython/Compiler/PyrexTypes.py

index a4b045d1cd0688c293f1b88848f2420f66f105f5..d1418bdea8181a814e00f148c829b5b1eeb2c78d 100644 (file)
@@ -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