mirror of
https://github.com/cemu-project/idapython.git
synced 2024-11-28 12:04:19 +01:00
Fixed the docstring of DataRefsFrom/To. The example was copy-pasted from the CodeRefs* functions and included the "flow" argument.
This commit is contained in:
parent
197a94f5d7
commit
1bd58bda60
@ -79,7 +79,7 @@ def DataRefsTo(ea):
|
|||||||
|
|
||||||
Example::
|
Example::
|
||||||
|
|
||||||
for ref in DataRefsTo(ScreenEA(), 1):
|
for ref in DataRefsTo(ScreenEA()):
|
||||||
print ref
|
print ref
|
||||||
"""
|
"""
|
||||||
return refs(ea, idaapi.get_first_dref_to, idaapi.get_next_dref_to)
|
return refs(ea, idaapi.get_first_dref_to, idaapi.get_next_dref_to)
|
||||||
@ -95,7 +95,7 @@ def DataRefsFrom(ea):
|
|||||||
|
|
||||||
Example::
|
Example::
|
||||||
|
|
||||||
for ref in DataRefsFrom(ScreenEA(), 1):
|
for ref in DataRefsFrom(ScreenEA()):
|
||||||
print ref
|
print ref
|
||||||
"""
|
"""
|
||||||
return refs(ea, idaapi.get_first_dref_from, idaapi.get_next_dref_from)
|
return refs(ea, idaapi.get_first_dref_from, idaapi.get_next_dref_from)
|
||||||
|
Loading…
Reference in New Issue
Block a user