summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-24 15:34:22 (GMT)
committerGitHub <noreply@github.com>2023-08-24 15:34:22 (GMT)
commit52c6a6e48a5fa12af401810722cfcad859e9881a (patch)
tree610a56978210c223db5ba6d5bfbe0b68ccdd4509 /Python/pythonrun.c
parentea871c9b0f08399e440baed95a3e5793d6e0ea66 (diff)
downloadcpython-52c6a6e48a5fa12af401810722cfcad859e9881a.zip
cpython-52c6a6e48a5fa12af401810722cfcad859e9881a.tar.gz
cpython-52c6a6e48a5fa12af401810722cfcad859e9881a.tar.bz2
gh-108308: Remove _PyDict_GetItemStringWithError() function (#108426)
Remove the internal _PyDict_GetItemStringWithError() function. It can now be replaced with the new public PyDict_ContainsString() and PyDict_GetItemStringRef() functions. getargs.c now now uses a strong reference for current_arg. find_keyword() returns a strong reference.
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 0e118b0..a2b50c0 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -15,7 +15,6 @@
#include "pycore_ast.h" // PyAST_mod2obj
#include "pycore_ceval.h" // _Py_EnterRecursiveCall
#include "pycore_compile.h" // _PyAST_Compile()
-#include "pycore_dict.h" // _PyDict_GetItemStringWithError()
#include "pycore_interp.h" // PyInterpreterState.importlib
#include "pycore_object.h" // _PyDebug_PrintTotalRefs()
#include "pycore_parser.h" // _PyParser_ASTFromString()