From 656994026c86d115d2537233fd83d621a416e603 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 1 Feb 2013 22:23:42 +0100 Subject: [PATCH] clarify comment in example --- docs/src/tutorial/queue_example/queue.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/tutorial/queue_example/queue.pyx b/docs/src/tutorial/queue_example/queue.pyx index 8ace78b..b7801cd 100644 --- a/docs/src/tutorial/queue_example/queue.pyx +++ b/docs/src/tutorial/queue_example/queue.pyx @@ -44,7 +44,7 @@ cdef class Queue: raise IndexError("Queue is empty") return value - def __bool__(self): # or __nonzero__ for Python 2.x + def __bool__(self): # same as __nonzero__ in Python 2.x return not cqueue.queue_is_empty(self._c_queue) DEF repeat_count=10000 -- 2.7.4