From: Daniele Varrazzo Date: Tue, 12 Oct 2021 13:04:51 +0000 (+0200) Subject: Drop docs for numeric wrappers X-Git-Tag: 3.0~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da60c58b25f0fa5bb6c706516b0925dfd1221945;p=thirdparty%2Fpsycopg.git Drop docs for numeric wrappers They might not be needed after all, because set_types is probably a better approach. --- diff --git a/docs/api/types.rst b/docs/api/types.rst index b9a78a9d2..436e96614 100644 --- a/docs/api/types.rst +++ b/docs/api/types.rst @@ -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