File indexing completed on 2024-04-28 15:53:59
0001 # AUTO-GENERATED FILE -- DO NOT EDIT 0002 0003 """ Importing this module enables command line editing using GNU readline. """ 0004 0005 __package__ = None 0006 0007 def add_history(string): 0008 """ add_history(string) -> None 0009 add a line to the history buffer """ 0010 return None 0011 0012 def clear_history(): 0013 """ clear_history() -> None 0014 Clear the current readline history. """ 0015 return None 0016 0017 def get_begidx(): 0018 """ get_begidx() -> int 0019 get the beginning index of the readline tab-completion scope """ 0020 return 1 0021 0022 def get_completer(): 0023 """ get_completer() -> function 0024 0025 Returns current completer function. """ 0026 return None 0027 0028 def get_completer_delims(): 0029 """ get_completer_delims() -> string 0030 get the readline word delimiters for tab-completion """ 0031 return "" 0032 0033 def get_completion_type(): 0034 """ get_completion_type() -> int 0035 Get the type of completion being attempted. """ 0036 return 1 0037 0038 def get_current_history_length(): 0039 """ get_current_history_length() -> integer 0040 return the current (not the maximum) length of history. """ 0041 return 1 0042 0043 def get_endidx(): 0044 """ get_endidx() -> int 0045 get the ending index of the readline tab-completion scope """ 0046 return 1 0047 0048 def get_history_item(): 0049 """ get_history_item() -> string 0050 return the current contents of history item at index. """ 0051 return "" 0052 0053 def get_history_length(): 0054 """ get_history_length() -> int 0055 return the maximum number of items that will be written to 0056 the history file. """ 0057 return 1 0058 0059 def get_line_buffer(): 0060 """ get_line_buffer() -> string 0061 return the current contents of the line buffer. """ 0062 return "" 0063 0064 def insert_text(string): 0065 """ insert_text(string) -> None 0066 Insert text into the command line. """ 0067 return None 0068 0069 def parse_and_bind(string): 0070 """ parse_and_bind(string) -> None 0071 Parse and execute single line of a readline init file. """ 0072 return None 0073 0074 def read_history_file(filename=None): 0075 """ read_history_file([filename]) -> None 0076 Load a readline history file. 0077 The default filename is ~/.history. """ 0078 return None 0079 0080 def read_init_file(filename=None): 0081 """ read_init_file([filename]) -> None 0082 Parse a readline initialization file. 0083 The default filename is the last filename used. """ 0084 return None 0085 0086 def redisplay(): 0087 """ redisplay() -> None 0088 Change what's displayed on the screen to reflect the current 0089 contents of the line buffer. """ 0090 return None 0091 0092 def remove_history_item(pos): 0093 """ remove_history_item(pos) -> None 0094 remove history item given by its position """ 0095 return None 0096 0097 def replace_history_item(pos, line): 0098 """ replace_history_item(pos, line) -> None 0099 replaces history item given by its position with contents of line """ 0100 return None 0101 0102 def set_completer(function=None): 0103 """ set_completer([function]) -> None 0104 Set or remove the completer function. 0105 The function is called as function(text, state), 0106 for state in 0, 1, 2, ..., until it returns a non-string. 0107 It should return the next possible completion starting with 'text'. """ 0108 return None 0109 0110 def set_completer_delims(string): 0111 """ set_completer_delims(string) -> None 0112 set the readline word delimiters for tab-completion """ 0113 return None 0114 0115 def set_completion_display_matches_hook(function=None): 0116 """ set_completion_display_matches_hook([function]) -> None 0117 Set or remove the completion display function. 0118 The function is called as 0119 function(substitution, [matches], longest_match_length) 0120 once each time matches need to be displayed. """ 0121 return None 0122 0123 def set_history_length(length): 0124 """ set_history_length(length) -> None 0125 set the maximal number of items which will be written to 0126 the history file. A negative length is used to inhibit 0127 history truncation. """ 0128 return None 0129 0130 def set_pre_input_hook(function=None): 0131 """ set_pre_input_hook([function]) -> None 0132 Set or remove the pre_input_hook function. 0133 The function is called with no arguments after the first prompt 0134 has been printed and just before readline starts reading input 0135 characters. """ 0136 return None 0137 0138 def set_startup_hook(function=None): 0139 """ set_startup_hook([function]) -> None 0140 Set or remove the startup_hook function. 0141 The function is called with no arguments just 0142 before readline prints the first prompt. """ 0143 return None 0144 0145 def write_history_file(filename=None): 0146 """ write_history_file([filename]) -> None 0147 Save a readline history file. 0148 The default filename is ~/.history. """ 0149 return None 0150