git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 0ce3873) | patch
Modernize Python exception syntax in documentation
2019年12月31日 09:35:16 +0000 (10:35 +0100)
2019年12月31日 09:35:16 +0000 (10:35 +0100)
commit b55413d77f96b9fa2dfae4ddec43412b90ebf588
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.
doc/src/sgml/plpython.sgml diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /