On 7 August 2010 04:57, Brian Curtin <[email protected]> wrote:
>>> -if sys.platform[:3] in ('win', 'os2') or sys.platform == 'riscos':
> The sliced check was to make it more convenient to also check "os2" at the
> same time in the first hunk of the change. Windows is "win32" regardless of
> 32 or 64-bit so that check works.
Wouldn't
if sys.platform in ('win32', 'os2', 'riscos'):
work just as well?
Paul
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com