Fixed typo.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190459 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael Gottesman 2013-09-11 00:27:23 +00:00
parent 37a8807323
commit f495a26792

View 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)