summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/src/extras.rst6
-rw-r--r--lib/extras.py6
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/src/extras.rst b/doc/src/extras.rst
index 9532485..4fbf051 100644
--- a/doc/src/extras.rst
+++ b/doc/src/extras.rst
@@ -229,6 +229,12 @@ requires no adapter registration.
.. autofunction:: register_composite
+ .. versionchanged:: 2.4.3
+ added support for array of composite types
+ .. versionchanged:: 2.4.6
+ added the *factory* parameter
+
+
.. autoclass:: CompositeCaster
.. automethod:: make
diff --git a/lib/extras.py b/lib/extras.py
index 2367931..65f2bb6 100644
--- a/lib/extras.py
+++ b/lib/extras.py
@@ -942,12 +942,6 @@ def register_composite(name, conn_or_curs, globally=False, factory=None):
it to :ref:`customize how to cast composite types <custom-composite>`
:return: the registered `CompositeCaster` or *factory* instance
responsible for the conversion
-
- .. versionchanged:: 2.4.3
- added support for array of composite types
- .. versionchanged:: 2.4.6
- added the *factory* parameter
-
"""
if factory is None:
factory = CompositeCaster