summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/flowgraph.py2
-rw-r--r--python/function.py2
-rw-r--r--python/interaction.py4
3 files changed, 5 insertions, 3 deletions
diff --git a/python/flowgraph.py b/python/flowgraph.py
index 95809d45..786a0595 100644
--- a/python/flowgraph.py
+++ b/python/flowgraph.py
@@ -736,7 +736,7 @@ class FlowGraph(object):
:return: Updated graph, or ``None``
:rtype: FlowGraph
"""
- return None
+ return NotImplemented
def set_option(self, option, value = True):
core.BNSetFlowGraphOption(self.handle, option, value)
diff --git a/python/function.py b/python/function.py
index 7f9648f5..75a50f12 100644
--- a/python/function.py
+++ b/python/function.py
@@ -263,6 +263,8 @@ class ValueRange(object):
return "<range: %#x to %#x>" % (self.start, self.end)
return "<range: %#x to %#x, step %#x>" % (self.start, self.end, self.step)
+
+
@property
def start(self):
""" """
diff --git a/python/interaction.py b/python/interaction.py
index 7226178a..584ce0d5 100644
--- a/python/interaction.py
+++ b/python/interaction.py
@@ -675,7 +675,7 @@ class InteractionHandler(object):
pass
def get_text_line_input(self, prompt, title):
- return None
+ return NotImplemented
def get_int_input(self, prompt, title):
while True:
@@ -691,7 +691,7 @@ class InteractionHandler(object):
return get_int_input(prompt, title)
def get_choice_input(self, prompt, title, choices):
- return None
+ return NotImplemented
def get_open_filename_input(self, prompt, ext):
return get_text_line_input(prompt, "Open File")