]> granicus.if.org Git - python/commitdiff
bpo-34653: Removed unused function PyParser_SimpleParseStringFilename. (GH-9260)
authorEric V. Smith <ericvsmith@users.noreply.github.com>
Thu, 13 Sep 2018 16:34:55 +0000 (12:34 -0400)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 13 Sep 2018 16:34:55 +0000 (09:34 -0700)
This function was not in any .h file and was not used by Python, so removing it is safe.

https://bugs.python.org/issue34653

Misc/NEWS.d/next/Core and Builtins/2018-09-13-12-06-09.bpo-34653.z8NE-i.rst [new file with mode: 0644]
Python/pythonrun.c

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 (file)
index 0000000..3019374
--- /dev/null
@@ -0,0 +1 @@
+Remove unused function PyParser_SimpleParseStringFilename.
index 43a98c96cd5c1f20d3ef5dc0a63b04f690da0bb9..276c5d102858d35e90534a9531dbe60202da9307 100644 (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. */