]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix(enum): move `enum` arg of register_enum() as third item
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 21 Apr 2022 08:22:44 +0000 (10:22 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 22 Apr 2022 03:03:24 +0000 (05:03 +0200)
commit1a486bb1b875c42efb192053cb169cb06c886009
treed963a44fa0d1e4aa058b5cd2b37faee25457aadf
parent18949c126499d3a083e46527bd8cadc55630619b
fix(enum): move `enum` arg of register_enum() as third item

This is more consistent with the other register_*() functions and allow
a more natural order of arguments if others must be added (e.g.
mapping).
docs/basic/adapt.rst
psycopg/psycopg/types/enum.py
tests/types/test_enum.py