Jun Koi's patch that fixes bad docstring for TargetMachine.emit_object.
This commit is contained in:
parent
984bfece2d
commit
51b22981ff
1 changed files with 1 additions and 1 deletions
|
|
@ -353,7 +353,7 @@ class TargetMachine(object):
|
||||||
return _core.LLVMTargetMachineEmitFile(self.ptr, module.ptr, True)
|
return _core.LLVMTargetMachineEmitFile(self.ptr, module.ptr, True)
|
||||||
|
|
||||||
def emit_object(self, module):
|
def emit_object(self, module):
|
||||||
'''returns byte string of the module as assembly code of the target machine
|
'''returns byte string of the module as native code of the target machine
|
||||||
'''
|
'''
|
||||||
return _core.LLVMTargetMachineEmitFile(self.ptr, module.ptr, False)
|
return _core.LLVMTargetMachineEmitFile(self.ptr, module.ptr, False)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue