mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
bpo-46920: Remove disabled debug code added decades ago and likely unnecessary (GH-31812)
This commit is contained in:
parent
e885ac3d5f
commit
a52f82baf2
3 changed files with 0 additions and 42 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue