On Mon, Feb 20, 2012 at 10:36 AM, brett.cannon
<[email protected]> wrote:
> -    if sys_module.platform in CASE_INSENSITIVE_PLATFORMS:
> +    if any(sys_module.platform.startswith(x)
> +            for x in CASE_INSENSITIVE_PLATFORMS):

Since C_I_P is a tuple, that condition can be written as:
"sys_module.platform.startswith(CASE_INSENSITIVE_PLATFORMS)"

Cheers,
Nick.

-- 
Nick Coghlan   |   [email protected]   |   Brisbane, Australia
_______________________________________________
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

Reply via email to