summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 78ed44e..98daa72 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -672,8 +672,7 @@ compiler_set_qualname(struct compiler *c)
}
if (base != NULL) {
- _Py_DECLARE_STR(dot, ".");
- name = PyUnicode_Concat(base, &_Py_STR(dot));
+ name = PyUnicode_Concat(base, _Py_LATIN1_CHR('.'));
Py_DECREF(base);
if (name == NULL) {
return ERROR;