idc.py: Minor docstring fixes

This commit is contained in:
gergely.erdelyi 2008-08-31 17:43:05 +00:00
parent 565a80c62e
commit b4e25f451a

View File

@ -2064,7 +2064,7 @@ def GetString(ea, length, strtype):
@param len: string length. -1 means to calculate the max string length @param len: string length. -1 means to calculate the max string length
@param type: the string type (one of ASCSTR_... constants) @param type: the string type (one of ASCSTR_... constants)
return: string contents or empty string @return: string contents or empty string
""" """
if length == -1: if length == -1:
length = idaapi.get_max_ascii_length(ea, strtype) length = idaapi.get_max_ascii_length(ea, strtype)
@ -2078,7 +2078,7 @@ def GetStringType(ea):
@param ea: linear address @param ea: linear address
Returns one of ASCSTR_... constants @return: One of ASCSTR_... constants
""" """
ti = idaapi.typeinfo_t() ti = idaapi.typeinfo_t()