From 4d9138e3ef76ce300f054a8cb07b1a2327b35a83 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Sat, 14 Sep 2019 01:06:50 -0400 Subject: lots of small documentation updates, mostly around making sure parameters are consistent and typed properly --- python/architecture.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'python/architecture.py') diff --git a/python/architecture.py b/python/architecture.py index b5f3ac6f..5fe2aec9 100644 --- a/python/architecture.py +++ b/python/architecture.py @@ -1235,7 +1235,8 @@ class Architecture(with_metaclass(_ArchitectureMetaClass, object)): :param int size: :param int write_type: :param int flag: - :param list(int_or_str): + :param operands: + :type operands: list(str) or list(int) :param LowLevelILFunction il: :rtype: LowLevelILExpr """ @@ -1685,7 +1686,8 @@ class Architecture(with_metaclass(_ArchitectureMetaClass, object)): :param LowLevelILOperation op: :param int size: :param str write_type: - :param list(str or int) operands: a list of either items that are either string register names or constant \ + :param operands: a list of either items that are either string register names or constant \ + :type operands: list(str) or list(int) integer values :param LowLevelILFunction il: :rtype: LowLevelILExpr @@ -1697,7 +1699,8 @@ class Architecture(with_metaclass(_ArchitectureMetaClass, object)): :param LowLevelILOperation op: :param int size: :param FlagRole role: - :param list(str or int) operands: a list of either items that are either string register names or constant \ + :param operands: a list of either items that are either string register names or constant \ + :type operands: list(str) or list(int) integer values :param LowLevelILFunction il: :rtype: LowLevelILExpr index @@ -2360,7 +2363,8 @@ class CoreArchitecture(Architecture): :param LowLevelILOperation op: :param int size: :param str write_type: - :param list(str or int) operands: a list of either items that are either string register names or constant \ + :param operands: a list of either items that are either string register names or constant \ + :type operands: list(str) or list(int) integer values :param LowLevelILFunction il: :rtype: LowLevelILExpr -- cgit v1.3.1