diff options
Diffstat (limited to 'bindings/python/llvm')
-rw-r--r-- | bindings/python/llvm/core.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bindings/python/llvm/core.py b/bindings/python/llvm/core.py index 2072d2f..f7f3748 100644 --- a/bindings/python/llvm/core.py +++ b/bindings/python/llvm/core.py @@ -103,11 +103,11 @@ class Module(LLVMObject): return m @property - def data_layout(self): + def datalayout(self): return lib.LLVMGetDataLayout(self) - @data_layout.setter - def data_layout(self, new_data_layout): + @datalayout.setter + def datalayout(self, new_data_layout): """new_data_layout is a string.""" lib.LLVMSetDataLayout(self, new_data_layout) |