diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2022-12-05 13:54:51 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@ci3.zzzcomputing.com> | 2022-12-05 13:54:51 +0000 |
| commit | 3497fd1c5b60ac529450fb2aab7c7fbb8da8a9e4 (patch) | |
| tree | 6816f69b476ede4d017613669dfb9e2d829ba063 | |
| parent | 43352e91d15a9289f1758bf2bb865aca9b01bbe7 (diff) | |
| parent | 38636bfd22f236343daf11aef31145ae54867028 (diff) | |
| download | sqlalchemy-3497fd1c5b60ac529450fb2aab7c7fbb8da8a9e4.tar.gz | |
Merge "Fixed an invalid syntax in an except statement" into main
| -rw-r--r-- | doc/build/core/pooling.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build/core/pooling.rst b/doc/build/core/pooling.rst index 1121919db..b47549e88 100644 --- a/doc/build/core/pooling.rst +++ b/doc/build/core/pooling.rst @@ -400,7 +400,7 @@ illustrated by the code example below:: # suppose the database has been restarted. c.execute(text("SELECT * FROM table")) c.close() - except exc.DBAPIError, e: + except exc.DBAPIError as e: # an exception is raised, Connection is invalidated. if e.connection_invalidated: print("Connection was invalidated!") |
