Add dummy_readline module

This commit is contained in:
Brad Warren
2016-03-23 11:27:20 -07:00
parent f9ac7d789b
commit 0c0687ca68
+21
View File
@@ -0,0 +1,21 @@
"""A dummy module with no effect for use on systems without readline."""
def get_completer():
"""An empty implementation of readline.get_completer."""
def get_completer_delims():
"""An empty implementation of readline.get_completer_delims."""
def parse_and_bind(unused_command):
"""An empty implementation of readline.parse_and_bind."""
def set_completer(unused_function=None):
"""An empty implementation of readline.set_completer."""
def set_completer_delims(unused_delims):
"""An empty implementation of readline.set_completer_delims."""