@@ -211,7 +211,7 @@ Execute the init line provided in the string argument.
211
211
212
212
static PyObject *
213
213
readline_parse_and_bind_impl (PyObject * module , PyObject * string )
214
- /*[clinic end generated code: output=828d9b6630d434f5 input=e89aac7c7a98067b ]*/
214
+ /*[clinic end generated code: output=828d9b6630d434f5 input=cefdc0f9f62f9fcc ]*/
215
215
{
216
216
char * copy ;
217
217
PyObject * encoded = encode (string );
@@ -248,7 +248,7 @@ The default filename is the last filename used.
248
248
249
249
static PyObject *
250
250
readline_read_init_file_impl (PyObject * module , PyObject * filename_obj )
251
- /*[clinic end generated code: output=8e059b676142831e input=496974ffe38b85db ]*/
251
+ /*[clinic end generated code: output=8e059b676142831e input=62b767adfab6cc15 ]*/
252
252
{
253
253
PyObject * filename_bytes ;
254
254
if (filename_obj != Py_None ) {
@@ -280,7 +280,7 @@ The default filename is ~/.history.
280
280
281
281
static PyObject *
282
282
readline_read_history_file_impl (PyObject * module , PyObject * filename_obj )
283
- /*[clinic end generated code: output=66a951836fb54fbb input=2eaa52b2bbf6fb83 ]*/
283
+ /*[clinic end generated code: output=66a951836fb54fbb input=5d86fd7813172a67 ]*/
284
284
{
285
285
PyObject * filename_bytes ;
286
286
if (filename_obj != Py_None ) {
@@ -313,7 +313,7 @@ The default filename is ~/.history.
313
313
314
314
static PyObject *
315
315
readline_write_history_file_impl (PyObject * module , PyObject * filename_obj )
316
- /*[clinic end generated code: output=fbcad13d8ef59ae6 input=28a8e062fe363703 ]*/
316
+ /*[clinic end generated code: output=fbcad13d8ef59ae6 input=34aaada95120cfaa ]*/
317
317
{
318
318
PyObject * filename_bytes ;
319
319
const char * filename ;
@@ -356,7 +356,7 @@ The default filename is ~/.history.
356
356
static PyObject *
357
357
readline_append_history_file_impl (PyObject * module , int nelements ,
358
358
PyObject * filename_obj )
359
- /*[clinic end generated code: output=5df06fc9da56e4e4 input=784b774db3a4b7c5 ]*/
359
+ /*[clinic end generated code: output=5df06fc9da56e4e4 input=78a6061a8d3a0275 ]*/
360
360
{
361
361
if (nelements < 0 )
362
362
{
@@ -594,7 +594,7 @@ Set the word delimiters for completion.
594
594
595
595
static PyObject *
596
596
readline_set_completer_delims_impl (PyObject * module , PyObject * string )
597
- /*[clinic end generated code: output=017e48e9704a2f64 input=4fd8ec0db0dbdae5 ]*/
597
+ /*[clinic end generated code: output=017e48e9704a2f64 input=6c87bb1cbed7fcf1 ]*/
598
598
{
599
599
char * break_chars ;
600
600
PyObject * encoded = encode (string );
@@ -667,7 +667,7 @@ Remove history item given by its zero-based position.
667
667
668
668
static PyObject *
669
669
readline_remove_history_item_impl (PyObject * module , int entry_number )
670
- /*[clinic end generated code: output=ab114f029208c7e8 input=1abf7add5c28f23c ]*/
670
+ /*[clinic end generated code: output=ab114f029208c7e8 input=847d7cc7e7c25852 ]*/
671
671
{
672
672
HIST_ENTRY * entry ;
673
673
@@ -704,7 +704,7 @@ pos is zero-based.
704
704
static PyObject *
705
705
readline_replace_history_item_impl (PyObject * module , int entry_number ,
706
706
PyObject * line )
707
- /*[clinic end generated code: output=f8cec2770ca125eb input=743ab534c4ac22f4 ]*/
707
+ /*[clinic end generated code: output=f8cec2770ca125eb input=b44c8dcdc2dd87fe ]*/
708
708
{
709
709
PyObject * encoded ;
710
710
HIST_ENTRY * old_entry ;
@@ -747,7 +747,7 @@ Add an item to the history buffer.
747
747
748
748
static PyObject *
749
749
readline_add_history_impl (PyObject * module , PyObject * string )
750
- /*[clinic end generated code: output=89047062042ac344 input=9679efa5b99bc972 ]*/
750
+ /*[clinic end generated code: output=89047062042ac344 input=faa7053b8612513b ]*/
751
751
{
752
752
PyObject * encoded = encode (string );
753
753
if (encoded == NULL ) {
@@ -792,7 +792,7 @@ Get the word delimiters for completion.
792
792
793
793
static PyObject *
794
794
readline_get_completer_delims_impl (PyObject * module )
795
- /*[clinic end generated code: output=6b060280fa68ef43 input=e30288e365692aa8 ]*/
795
+ /*[clinic end generated code: output=6b060280fa68ef43 input=80583cdf8176bcdd ]*/
796
796
{
797
797
return decode (rl_completer_word_break_characters );
798
798
}
@@ -870,7 +870,7 @@ Return the current contents of history item at one-based index.
870
870
871
871
static PyObject *
872
872
readline_get_history_item_impl (PyObject * module , int idx )
873
- /*[clinic end generated code: output=83d3e53ea5f34b3d input=55ad7d4510969b16 ]*/
873
+ /*[clinic end generated code: output=83d3e53ea5f34b3d input=2835b50c7bde705f ]*/
874
874
{
875
875
HIST_ENTRY * hist_ent ;
876
876
@@ -911,7 +911,7 @@ Return the current (not the maximum) length of history.
911
911
912
912
static PyObject *
913
913
readline_get_current_history_length_impl (PyObject * module )
914
- /*[clinic end generated code: output=436b294f12ba1e3f input=b093b842cdbf4313 ]*/
914
+ /*[clinic end generated code: output=436b294f12ba1e3f input=22e9fd0abbc2fd8d ]*/
915
915
{
916
916
return PyLong_FromLong ((long )_py_get_history_length_lock_held ());
917
917
}
@@ -927,7 +927,7 @@ Return the current contents of the line buffer.
927
927
928
928
static PyObject *
929
929
readline_get_line_buffer_impl (PyObject * module )
930
- /*[clinic end generated code: output=d22f9025ecad80e4 input=b7cfd10cfb4713ed ]*/
930
+ /*[clinic end generated code: output=d22f9025ecad80e4 input=8e02e0fe081feece ]*/
931
931
{
932
932
return decode (rl_line_buffer );
933
933
}
@@ -945,7 +945,7 @@ Clear the current readline history.
945
945
946
946
static PyObject *
947
947
readline_clear_history_impl (PyObject * module )
948
- /*[clinic end generated code: output=1f2dbb0dfa5d5ebb input=3b3732c56bbcf587 ]*/
948
+ /*[clinic end generated code: output=1f2dbb0dfa5d5ebb input=b2c6b11551593053 ]*/
949
949
{
950
950
clear_history ();
951
951
Py_RETURN_NONE ;
@@ -967,7 +967,7 @@ Insert text into the line buffer at the cursor position.
967
967
968
968
static PyObject *
969
969
readline_insert_text_impl (PyObject * module , PyObject * string )
970
- /*[clinic end generated code: output=4bf4e176f68750e0 input=d279c09ba6502577 ]*/
970
+ /*[clinic end generated code: output=4bf4e176f68750e0 input=2f401f4316df33c2 ]*/
971
971
{
972
972
PyObject * encoded = encode (string );
973
973
if (encoded == NULL ) {
@@ -989,7 +989,7 @@ Change what's displayed on the screen to reflect contents of the line buffer.
989
989
990
990
static PyObject *
991
991
readline_redisplay_impl (PyObject * module )
992
- /*[clinic end generated code: output=a8b9725827c3c34b input=8bf90322518dc0e2 ]*/
992
+ /*[clinic end generated code: output=a8b9725827c3c34b input=5895fd014615ff58 ]*/
993
993
{
994
994
rl_redisplay ();
995
995
Py_RETURN_NONE ;
0 commit comments