Skip to content

Glossary: Python Beyond the Basics

raise (bare / re-raise)

Also written: re-raise, bare raise

Using `raise` alone inside an `except` block passes the same error on after you've done something like logging it.

Where the book teaches it

Related terms

exceptiontry / except / else / finally