Time2Internaldate(): Call isinstance() once for each of the type tests
authorFred Drake <fdrake@acm.org>
Sat, 5 Jan 2002 17:17:09 +0000 (17:17 +0000)
committerFred Drake <fdrake@acm.org>
Sat, 5 Jan 2002 17:17:09 +0000 (17:17 +0000)
commitdb519205a2cd89eb43d7622bc3b37b8b8ea8a629
tree833950ce8cd8cd5af98fa959565452edec7fb561
parent1e2fb57b5f978421b54578f0931ab1e64db1dbba
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