A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-September/082437.html below:

[Python-Dev] ',' precedence in documentation]

[Python-Dev] ',' precedence in documentation] [Python-Dev] ',' precedence in documentation]Greg Ewing greg.ewing at canterbury.ac.nz
Tue Sep 16 02:33:20 CEST 2008
Joel Bender wrote:

> As for the assert syntax, I would reuse the 'raise' keyword rather than 
> 'else':
> 
>     assert_stmt ::= "assert" <expression> [ "raise" <expression> ]
> 
> Which emphasizes that the expression is raised as an exception.

However, it doesn't take the same kind of argument
as the "raise" statement, whereas this syntax might
suggest that it does.

-- 
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4