]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Drop docs for numeric wrappers
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 12 Oct 2021 13:04:51 +0000 (15:04 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 12 Oct 2021 14:07:55 +0000 (16:07 +0200)
They might not be needed after all, because set_types is probably a
better approach.

docs/api/types.rst

index b9a78a9d2009c3874db1d56fa5c65e03d1d28400..436e966143739e34ea403de27b742750a44ac7c4 100644 (file)
@@ -135,30 +135,6 @@ its `~psycopg.adapt.AdaptersMap.types` attribute.
    .. automethod:: get_by_subtype
 
 
-.. _numeric-wrappers:
-
-Numeric wrappers
-----------------
-
-.. autoclass:: psycopg.types.numeric.Int2
-.. autoclass:: psycopg.types.numeric.Int4
-.. autoclass:: psycopg.types.numeric.Int8
-.. autoclass:: psycopg.types.numeric.Oid
-.. autoclass:: psycopg.types.numeric.Float4
-.. autoclass:: psycopg.types.numeric.Float8
-
-These wrappers can be used to force to dump Python numeric values to a certain
-PostgreSQL type. This is rarely needed, usually the automatic rules do the
-right thing. One case when they are needed is :ref:`copy-binary`.
-
-
-.. admonition:: TODO
-
-    Document the various objects wrappers
-
-    - Range
-
-
 .. _json-adapters:
 
 JSON adapters