summaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/llvm/core.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bindings/python/llvm/core.py b/bindings/python/llvm/core.py
index 2072d2f18d..f7f3748d4c 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)