]> 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 13:59:11 +0000 (09:59 -0400)
commit3d300066e8b20a89e0b82bf09dd0c4016f5f8e51
tree6cdff5301dfa40950a3e8f23286d5ea4b6be7564
parent997e4dfae98fc68463fa5121c2ce95498ad238d1
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
lib/sqlalchemy/sql/sqltypes.py