This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christofsteel
Recipients andrewnester, christofsteel
Date 2017-02-15.13:20:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1487164836.44.0.592232902772.issue29553@psf.upfronthosting.co.za>
In-reply-to
Content
Hi,

I thought a bit about the problem and came up with the following:

The | in the usage is de facto an XOR operator. Exactly one of the options can be used. The XOR operator has the associative property, meaning:

  (A XOR B) XOR C = A XOR (B XOR C)

So translated to the | this means:
  
  [[ -a | -b ] | -c ] = [ -a | [ -b | -c ]]

usually one writes:

  [ -a | -b | -c ]

So I propose dropping the inner brackets altogether.
History
Date User Action Args
2017-02-15 13:20:36christofsteelsetrecipients: + christofsteel, andrewnester
2017-02-15 13:20:36christofsteelsetmessageid: <1487164836.44.0.592232902772.issue29553@psf.upfronthosting.co.za>
2017-02-15 13:20:36christofsteellinkissue29553 messages
2017-02-15 13:20:36christofsteelcreate