More changes to get llvm-py to compile with LLVM 3.0
This commit is contained in:
parent
c09903e54f
commit
3120dbf29e
3 changed files with 12 additions and 10 deletions
|
|
@ -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.,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue