Why aren't colons optional?

Marc Poulin mpoulin at verinet.com
Tue Jan 22 02:19:13 CET 2002


In article <u4oc4g84pfuv4d at news.supernews.com>, "John Roth"
<johnroth at ameritech.net> wrote:

>> I've also always found the interchangability of ' and " to be a bit
>> amusing.  Seems like it was just a bone to throw to the "there's more
> than
>> one way to do it" camp.  

Thus spake Niklaus Wirth:

  $string = '"'{character}'"' | "'"{character}"'".
        -- Programming in Modula-2 (3rd ed., 1985), p. 15



More information about the Python-list mailing list