Author: guido.van.rossum
Date: Sat Oct 13 23:01:08 2007
New Revision: 58447

Modified:
   python/branches/py3k/Modules/arraymodule.c
Log:
Fix typo in arraymodule.c (?) -- it's PyBUF_LOCK, not PyBUF_LOCKDATA.


Modified: python/branches/py3k/Modules/arraymodule.c
==============================================================================
--- python/branches/py3k/Modules/arraymodule.c  (original)
+++ python/branches/py3k/Modules/arraymodule.c  Sat Oct 13 23:01:08 2007
@@ -1789,7 +1789,7 @@
                                 "Cannot be a character buffer");
                 return -1;
         }
-        if ((flags & PyBUF_LOCKDATA)) {
+        if ((flags & PyBUF_LOCK)) {
                 PyErr_SetString(PyExc_BufferError,
                                 "Cannot lock data");
                 return -1;
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to