python/dist/src/Lib asynchat.py,1.24,1.25
Sept. 27, 2004
5:49 p.m.
Update of /cvsroot/python/python/dist/src/Lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1673 Modified Files: asynchat.py Log Message: Trivial bug fix: deque == [] is not a good way to check if a deque is empty. Index: asynchat.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/asynchat.py,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- asynchat.py 1 Mar 2004 23:16:22 -0000 1.24 +++ asynchat.py 27 Sep 2004 17:49:00 -0000 1.25 @@ -259,7 +259,7 @@ return len(self.list) def is_empty (self): - return self.list == [] + return not self.list def first (self): return self.list[0]
7875
Age (days ago)
7875
Last active (days ago)
0 comments
1 participants
participants (1)
-
arigoļ¼ users.sourceforge.net