PEP 308: Rejection of C ?? T || F

Michael Hudson mwh at python.net
Thu Feb 13 08:37:52 EST 2003


Steven Taschuk <staschuk at telusplanet.net> writes:

> Although ?? suggests testing (and surely this is why ? is used
> here in C syntax), I do not feel that || suggests alternation,

Well, | is used for alternation in regular expressions.  I don't know
the origin of the notation, but wouldn't be surprised if it pre-dated
C.

Cheers,
M.

-- 

  Check out the comments in this source file that start with:
  # Oh, lord help us.
            -- Mark Hammond gets to play with the Outlook object model




More information about the Python-list mailing list