On 2006-11-10, John Machin <[EMAIL PROTECTED]> wrote:
>
> Neil Cerutti wrote:
>> On 2006-10-16, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> > Hello,
>> >
>> > here is something that surprises me.
>> >
>> >   #coding: iso-8859-1
>>
>> I think that's supposed to be:
>>
>> # -*- coding: iso-8859-1 -*-
>>
>
> Not quite. As PEP 263 says:
>
> """
> More precisely, the first or second line must match the regular
> expression "coding[:=]\s*([-\w.]+)". 
> """

Yep. I was erroneously going by the example in the Unicode Howto.
Thanks for the correction.

-- 
Neil Cerutti
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to