git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Except with empty tuple


I would like to verify I understand correctly.

It is about the following construct:

    try:
        statement1
        statement2
        ...
    except ():
        pass

As far as I understand and my tests seem to confirm this, this
is equivallent to just

    statement1
    statement2
    ...

Am I correct or did I miss something?

-- 
Antoon.