We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f315a37 commit 53bc12dCopy full SHA for 53bc12d
py/repl.c
@@ -218,7 +218,7 @@ static void print_completions(const mp_print_t *print,
218
for (qstr q = q_first; q <= q_last; ++q) {
219
size_t d_len;
220
const char *d_str = (const char *)qstr_data(q, &d_len);
221
- if (s_len <= d_len && strncmp(s_start, d_str, s_len) == 0) {
+ if (s_len <= d_len && strncmp(s_start, d_str, s_len) == 0 && d_str[0] != '_') {
222
if (test_qstr(obj, q)) {
223
int gap = (line_len + WORD_SLOT_LEN - 1) / WORD_SLOT_LEN * WORD_SLOT_LEN - line_len;
224
if (gap < 2) {
0 commit comments