Browse Source

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
pull/9262/head
Eric V. Smith 7 years ago
committed by Miss Islington (bot)
parent
commit
53c427e839
  1. 1
      Misc/NEWS.d/next/Core and Builtins/2018-09-13-12-06-09.bpo-34653.z8NE-i.rst
  2. 6
      Python/pythonrun.c

1
Misc/NEWS.d/next/Core and Builtins/2018-09-13-12-06-09.bpo-34653.z8NE-i.rst

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

6
Python/pythonrun.c

@ -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. */

Loading…
Cancel
Save