summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorKaushik Kulkarni <15399010+kaushikcfd@users.noreply.github.com>2022-11-05 16:31:57 (GMT)
committerGitHub <noreply@github.com>2022-11-05 16:31:57 (GMT)
commit67ade403a2dbbb41f270afd7000febadef85a27e (patch)
tree0439af43337dab78228536fcf06ad77344616a3d /Include
parentb5f711185bd11819566068ddf2a74a1402340e2d (diff)
downloadcpython-67ade403a2dbbb41f270afd7000febadef85a27e.zip
cpython-67ade403a2dbbb41f270afd7000febadef85a27e.tar.gz
cpython-67ade403a2dbbb41f270afd7000febadef85a27e.tar.bz2
gh-98284: better error message for undefined abstractmethod (#97971)
Diffstat (limited to 'Include')
-rw-r--r--Include/internal/pycore_global_strings.h1
-rw-r--r--Include/internal/pycore_runtime_init_generated.h5
2 files changed, 0 insertions, 6 deletions
diff --git a/Include/internal/pycore_global_strings.h b/Include/internal/pycore_global_strings.h
index 002d81e..e60bd4b 100644
--- a/Include/internal/pycore_global_strings.h
+++ b/Include/internal/pycore_global_strings.h
@@ -37,7 +37,6 @@ struct _Py_global_strings {
STRUCT_FOR_STR(anon_string, "<string>")
STRUCT_FOR_STR(anon_unknown, "<unknown>")
STRUCT_FOR_STR(close_br, "}")
- STRUCT_FOR_STR(comma_sep, ", ")
STRUCT_FOR_STR(dbl_close_br, "}}")
STRUCT_FOR_STR(dbl_open_br, "{{")
STRUCT_FOR_STR(dbl_percent, "%%")
diff --git a/Include/internal/pycore_runtime_init_generated.h b/Include/internal/pycore_runtime_init_generated.h
index 88b84cb..8ce1037 100644
--- a/Include/internal/pycore_runtime_init_generated.h
+++ b/Include/internal/pycore_runtime_init_generated.h
@@ -547,7 +547,6 @@ extern "C" {
INIT_STR(anon_string, "<string>"), \
INIT_STR(anon_unknown, "<unknown>"), \
INIT_STR(close_br, "}"), \
- INIT_STR(comma_sep, ", "), \
INIT_STR(dbl_close_br, "}}"), \
INIT_STR(dbl_open_br, "{{"), \
INIT_STR(dbl_percent, "%%"), \
@@ -4865,10 +4864,6 @@ _PyStaticObjects_CheckRefcnt(void) {
_PyObject_Dump((PyObject *)&_Py_STR(close_br));
Py_FatalError("immortal object has less refcnt than expected _PyObject_IMMORTAL_REFCNT");
};
- if (Py_REFCNT((PyObject *)&_Py_STR(comma_sep)) < _PyObject_IMMORTAL_REFCNT) {
- _PyObject_Dump((PyObject *)&_Py_STR(comma_sep));
- Py_FatalError("immortal object has less refcnt than expected _PyObject_IMMORTAL_REFCNT");
- };
if (Py_REFCNT((PyObject *)&_Py_STR(dbl_close_br)) < _PyObject_IMMORTAL_REFCNT) {
_PyObject_Dump((PyObject *)&_Py_STR(dbl_close_br));
Py_FatalError("immortal object has less refcnt than expected _PyObject_IMMORTAL_REFCNT");