summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2024-09-26 20:49:48 (GMT)
committerGitHub <noreply@github.com>2024-09-26 20:49:48 (GMT)
commit2c108328877984f2d92604764c66ef15bd82b31e (patch)
tree9451bd274edf0332b4d91bbff9bfe5713b80c8fd /Objects
parenta4d1fdfb152c46e3e05aa6e91a44a9fd0323b632 (diff)
downloadcpython-2c108328877984f2d92604764c66ef15bd82b31e.zip
cpython-2c108328877984f2d92604764c66ef15bd82b31e.tar.gz
cpython-2c108328877984f2d92604764c66ef15bd82b31e.tar.bz2
gh-119180: Rename SOURCE format to STRING (#124620)
Diffstat (limited to 'Objects')
-rw-r--r--Objects/typevarobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typevarobject.c b/Objects/typevarobject.c
index 552c474..51d93ed 100644
--- a/Objects/typevarobject.c
+++ b/Objects/typevarobject.c
@@ -168,7 +168,7 @@ constevaluator_call(PyObject *self, PyObject *args, PyObject *kwargs)
return NULL;
}
PyObject *value = ((constevaluatorobject *)self)->value;
- if (format == 3) { // SOURCE
+ if (format == 3) { // STRING
PyUnicodeWriter *writer = PyUnicodeWriter_Create(5); // cannot be <5
if (writer == NULL) {
return NULL;