More changes to get llvm-py to compile with LLVM 3.0

This commit is contained in:
Travis E. Oliphant 2012-02-08 09:23:58 -06:00
commit 3120dbf29e
3 changed files with 12 additions and 10 deletions

View file

@ -135,7 +135,8 @@ class _ObjectCache(type):
# Cacheables
#===----------------------------------------------------------------------===
class Cacheable(object, metaclass=_ObjectCache):
class Cacheable(object):
__metaclass__ = _ObjectCache
"""Objects that can be cached.
Objects that wrap a PyCObject are cached to avoid "aliasing", i.e.,