diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-09-10 23:53:14 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-09-10 23:53:14 (GMT) |
commit | e208b7c5b16d4150abde76063bc23e36b7304af5 (patch) | |
tree | 3244d13a2c9d8b52c8c4f60d9506a7a9369abf04 | |
parent | d0de25d731d4158ad7e20035e97536ec0ce92165 (diff) | |
download | cpython-e208b7c5b16d4150abde76063bc23e36b7304af5.zip cpython-e208b7c5b16d4150abde76063bc23e36b7304af5.tar.gz cpython-e208b7c5b16d4150abde76063bc23e36b7304af5.tar.bz2 |
typo
-rw-r--r-- | Python/ceval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 51d9fbf..a181ca8 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -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. */ |