Skip to content

Conversation

DaytonaJohn
Copy link

Minor changes to make it compatible with Python3.

@depau
Copy link
Member

depau commented May 13, 2019

Hi :)
Instead of duplicating the exception handler you can put your exceptions in a tuple like this:

try:
    (stuff)
except (Exc1, Exc2, ...):
    (handler)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants