]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Time2Internaldate(): Call isinstance() once for each of the type tests
authorFred Drake <fdrake@acm.org>
Sat, 5 Jan 2002 17:22:20 +0000 (17:22 +0000)
committerFred Drake <fdrake@acm.org>
Sat, 5 Jan 2002 17:22:20 +0000 (17:22 +0000)
commit28ba76ea353d536ad2b3cf711f4100a8492504af
tree8044cb197614749490eacba1d58e9fb7970c17eb
parent95789f8db8c67419cad143b2602ea3e86e4d8978
Time2Internaldate():  Call isinstance() once for each of the type tests
instead of possibly twice by using a sequence of types to check for.
Add a message to the ValueError that can be raised.
Lib/imaplib.py