Modernize Python exception syntax in documentation

Peter Eisentraut <peter@eisentraut.org>

Commit: b55413d77f96b9fa2dfae4ddec43412b90ebf588
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2019-12-31T09:35:16Z
Releases: 13.0
Modernize Python exception syntax in documentation

Change the exception syntax used in the documentation to use the more
current

    except Exception as ex:

rather than the old

    except Exception, ex:

We keep the old syntax in the test code since Python <2.6 is still
supported there, but the documentation might as well use the modern
syntax.

Files

PathChange+/−
doc/src/sgml/plpython.sgml modified +4 −4

Documentation touched