[Python-3000-checkins] r59315 - python/branches/py3k/Objects/bytesobject.c

alexandre.vassalotti python-3000-checkins at python.org
Tue Dec 4 06:56:12 CET 2007


Author: alexandre.vassalotti
Date: Tue Dec  4 06:56:11 2007
New Revision: 59315

Modified:
   python/branches/py3k/Objects/bytesobject.c
Log:
Remove a few tab characters introduced by r59314.


Modified: python/branches/py3k/Objects/bytesobject.c
==============================================================================
--- python/branches/py3k/Objects/bytesobject.c	(original)
+++ python/branches/py3k/Objects/bytesobject.c	Tue Dec  4 06:56:11 2007
@@ -2602,12 +2602,12 @@
     buf_size = _PyObject_LengthHint(arg);
     /* The length of the argument is unknown or invalid. */
     if (buf_size < 0) {
-		if (PyErr_Occurred()
+        if (PyErr_Occurred()
             && !PyErr_ExceptionMatches(PyExc_TypeError)
             && !PyErr_ExceptionMatches(PyExc_AttributeError)) {
             Py_DECREF(it);
-			return NULL;
-		}
+            return NULL;
+        }
         PyErr_Clear();
         buf_size = 32;          /* arbitrary */
     }


More information about the Python-3000-checkins mailing list