From 1bd58bda60062f878100788b41db8b711afe1946 Mon Sep 17 00:00:00 2001 From: "ero.carrera" Date: Mon, 29 Nov 2010 15:19:24 +0000 Subject: [PATCH] Fixed the docstring of DataRefsFrom/To. The example was copy-pasted from the CodeRefs* functions and included the "flow" argument. --- python/idautils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/idautils.py b/python/idautils.py index 310e9f1..44abcb7 100644 --- a/python/idautils.py +++ b/python/idautils.py @@ -79,7 +79,7 @@ def DataRefsTo(ea): Example:: - for ref in DataRefsTo(ScreenEA(), 1): + for ref in DataRefsTo(ScreenEA()): print ref """ return refs(ea, idaapi.get_first_dref_to, idaapi.get_next_dref_to) @@ -95,7 +95,7 @@ def DataRefsFrom(ea): Example:: - for ref in DataRefsFrom(ScreenEA(), 1): + for ref in DataRefsFrom(ScreenEA()): print ref """ return refs(ea, idaapi.get_first_dref_from, idaapi.get_next_dref_from)