[XML-SIG] Re: [XML-checkins]xml/xml/dom expatbuilder.py,1.24,1.25
Fred L. Drake, Jr.
fdrake@acm.org
Wed, 25 Sep 2002 09:11:56 -0400
Martin v. Loewis writes:
> > ! if isinstance(file, StringTypes):
>
> As another note, I think this won't work in Python 2.0: in that
> version, isinstance allows a type as the second argument only.
Except that the compatibility version defined in minicompat is being
used in this case, and it does accept a tuple as the second arg.
And I should be getting StringTypes from minicompat; I'll correct that
when I get to the office and can run the tests. Thanks for catching
this!
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Zope Corporation