Skip to content

Commit 53c427e

Browse files
ericvsmithmiss-islington
authored andcommitted
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
1 parent a20b6ad commit 53c427e

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove unused function PyParser_SimpleParseStringFilename.

Python/pythonrun.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1295,12 +1295,6 @@ PyParser_SimpleParseStringFlagsFilename(const char *str, const char *filename,
12951295
return n;
12961296
}
12971297

1298-
node *
1299-
PyParser_SimpleParseStringFilename(const char *str, const char *filename, int start)
1300-
{
1301-
return PyParser_SimpleParseStringFlagsFilename(str, filename, start, 0);
1302-
}
1303-
13041298
/* May want to move a more generalized form of this to parsetok.c or
13051299
even parser modules. */
13061300

0 commit comments

Comments
 (0)