bpo-34653: Removed unused function PyParser_SimpleParseStringFilename. (GH-9260)

This function was not in any .h file and was not used by Python, so removing it is safe.


https://bugs.python.org/issue34653
This commit is contained in:
Eric V. Smith 2018-09-13 12:34:55 -04:00 committed by Miss Islington (bot)
parent a20b6adb5a
commit 53c427e839
2 changed files with 1 additions and 6 deletions

View File

@ -0,0 +1 @@
Remove unused function PyParser_SimpleParseStringFilename.

View File

@ -1295,12 +1295,6 @@ PyParser_SimpleParseStringFlagsFilename(const char *str, const char *filename,
return n;
}
node *
PyParser_SimpleParseStringFilename(const char *str, const char *filename, int start)
{
return PyParser_SimpleParseStringFlagsFilename(str, filename, start, 0);
}
/* May want to move a more generalized form of this to parsetok.c or
even parser modules. */