|
From: D-Man <ds...@ri...> - 2001-03-29 15:14:14
|
On Thu, Mar 29, 2001 at 11:49:26AM +0100, Ype Kingma wrote:
|
| It seems that this is an ambiguity in the language definition.
| The syntax of assert (see previous post) does not allow '('
| and ')' and it does not state that the comma introduces a tuple,
| but in the last paragraph of 5.2.3 (see your URL above) it states
| that a comma introduces a tuple.
Yes, the documentation is a bit sparse and seemingly conflicting in
this aspect.
| I think I won't use the parenthesized form, it might break in the
| future.
It might, though that could be fixed with a not too complicated sed
script. It may also be a fix in the documentation instead if it is
decided that a 2-tuple is a better way of describing the usage of teh
statement.
-D
|