bpo-46920: Remove disabled debug code added decades ago and likely unnecessary (GH-31812)

This commit is contained in:
Oleg Iarygin 2022-03-14 19:03:21 +03:00 committed by GitHub
parent e885ac3d5f
commit a52f82baf2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 42 deletions

View file

@ -37,17 +37,6 @@ _PyPegen_byte_offset_to_character_offset(PyObject *line, Py_ssize_t col_offset)
return size;
}
#if 0
static const char *
token_name(int type)
{
if (0 <= type && type <= N_TOKENS) {
return _PyParser_TokenNames[type];
}
return "<Huh?>";
}
#endif
// Here, mark is the start of the node, while p->mark is the end.
// If node==NULL, they should be the same.
int