comparison configmix/_speedups.c @ 639:999cfca55d25

FIX: {{::DEL::}} has 11 chars instead of 3
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 05 Mar 2022 12:59:35 +0100
parents 4499e9b4855d
children 2b1c7a68f913
comparison
equal deleted inserted replaced
638:ef485419d723 639:999cfca55d25
1670 if (sstate->REF_NAMESPACE == NULL) { 1670 if (sstate->REF_NAMESPACE == NULL) {
1671 return -1; 1671 return -1;
1672 } 1672 }
1673 PyUnicode_InternInPlace(&(sstate->REF_NAMESPACE)); 1673 PyUnicode_InternInPlace(&(sstate->REF_NAMESPACE));
1674 1674
1675 sstate->DEL_VALUE = PyUnicode_FromStringAndSize("{{::DEL::}}", 3); 1675 sstate->DEL_VALUE = PyUnicode_FromStringAndSize("{{::DEL::}}", 11);
1676 if (sstate->DEL_VALUE == NULL) { 1676 if (sstate->DEL_VALUE == NULL) {
1677 return -1; 1677 return -1;
1678 } 1678 }
1679 PyUnicode_InternInPlace(&(sstate->DEL_VALUE)); 1679 PyUnicode_InternInPlace(&(sstate->DEL_VALUE));
1680 1680