[Python-checkins] r84699 - python/branches/py3k/Python/ceval.c
benjamin.peterson
python-checkins at python.org
Sat Sep 11 01:53:15 CEST 2010
Author: benjamin.peterson
Date: Sat Sep 11 01:53:14 2010
New Revision: 84699
Log:
typo
Modified:
python/branches/py3k/Python/ceval.c
Modified: python/branches/py3k/Python/ceval.c
==============================================================================
--- python/branches/py3k/Python/ceval.c (original)
+++ python/branches/py3k/Python/ceval.c Sat Sep 11 01:53:14 2010
@@ -4394,7 +4394,7 @@
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 @@
}
}
- 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.
*/
More information about the Python-checkins
mailing list