]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
update Numeric/Float docstrings
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 14 Apr 2022 13:59:11 +0000 (09:59 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 14 Apr 2022 14:01:03 +0000 (10:01 -0400)
commit0c0bcd95ce843d8541ae952ec5262851d109ab0a
treefc3d6dfc634addf64936f25324151d5d5f1803a8
parent11134d6052a7c575ffc9a934a55f890a9b5cbc98
update Numeric/Float docstrings

These docs were very out of date re: cdecimal.   Additionally,
as pointed out in #5252, the Numeric documentation is misleading;
SQLAlchemy's Numeric hierarchy resembles more of the Oracle
approach where precision and scale solely determine the kind of
datatype being worked with.   Float is essentially Numeric with
different defaults.

Fixes: #5252
Change-Id: I661109fabf04ba7831c7ddafba15321dd445ea5d
(cherry picked from commit 3d300066e8b20a89e0b82bf09dd0c4016f5f8e51)
lib/sqlalchemy/sql/sqltypes.py