Fixed typo.
authorMichael Gottesman <mgottesman@apple.com>
Wed, 11 Sep 2013 00:27:23 +0000 (00:27 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Wed, 11 Sep 2013 00:27:23 +0000 (00:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190459 91177308-0d34-0410-b5e6-96231b3b80d8

bindings/python/llvm/core.py

index 2072d2f18dce6f9429d7c79a2f91b80fa441d230..f7f3748d4c3d477d8a6e35fab30308efe5e97dc0 100644 (file)
@@ -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)