Home
last modified time | relevance | path

Searched refs:_history_length (Results 1 - 1 of 1) sorted by relevance

/third_party/python/Modules/
H A Dreadline.c276 static int _history_length = -1; /* do not truncate history by default */ variable
307 if (!err && _history_length >= 0) in readline_write_history_file_impl()
308 history_truncate_file(filename, _history_length); in readline_write_history_file_impl()
349 if (!err && _history_length >= 0) in readline_append_history_file_impl()
350 history_truncate_file(filename, _history_length); in readline_append_history_file_impl()
377 _history_length = length; in readline_set_history_length_impl()
393 return PyLong_FromLong(_history_length); in readline_get_history_length_impl()

Completed in 2 milliseconds