summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-09-13-12-06-09.bpo-34653.z8NE-i.rst1
-rw-r--r--Python/pythonrun.c6
2 files changed, 1 insertions, 6 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-09-13-12-06-09.bpo-34653.z8NE-i.rst b/Misc/NEWS.d/next/Core and Builtins/2018-09-13-12-06-09.bpo-34653.z8NE-i.rst
new file mode 100644
index 0000000..3019374
--- /dev/null
+++ b/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.
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 43a98c9..276c5d1 100644
--- a/Python/pythonrun.c
+++ b/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. */