[Tutor] making a string

Jim Mooney cybervigilante at gmail.com
Mon May 27 02:43:09 CEST 2013


On 26 May 2013 17:38, eryksun <eryksun at gmail.com> wrote:
> On Sun, May 26, 2013 at 8:20 PM, Steven D'Aprano <steve at pearwood.info> wrote:
>> On 27/05/13 07:40, Jim Mooney wrote:
>>
>>> Good to know that compile doesn't check syntax, since I erroneously
>>> thought it did.
>>
>> compile does check syntax.
>
> Attempting to iterate an integer is a runtime TypeError, not a
> compile-time SyntaxError.

Ah, that clears it up.

Jim


More information about the Tutor mailing list