This commit is contained in:
Benjamin Peterson 2010-09-10 23:53:14 +00:00
parent d0de25d731
commit e208b7c5b1
1 changed files with 2 additions and 2 deletions

View File

@ -4394,7 +4394,7 @@ unicode_concatenate(PyObject *v, PyObject *w,
return NULL;
}
if (Py_REFCNF(v) == 2) {
if (Py_REFCNT(v) == 2) {
/* In the common case, there are 2 references to the value
* stored in 'variable' when the += is performed: one on the
* value stack (in 'v') and one still stored in the
@ -4435,7 +4435,7 @@ unicode_concatenate(PyObject *v, PyObject *w,
}
}
if (Py_REFCNF(v) == 1 && !PyUnicode_CHECK_INTERNED(v)) {
if (Py_REFCNT(v) == 1 && !PyUnicode_CHECK_INTERNED(v)) {
/* Now we own the last reference to 'v', so we can resize it
* in-place.
*/