aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/bytecodes.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-10-14 11:24:01 +0300
committerGitHub <noreply@github.com>2024-10-14 08:24:01 +0000
commit5217328f93f599755bd70418952392c54f705a71 (patch)
tree87e238d2b2cdd326b396db73e582c535ef623836 /Python/bytecodes.c
parent4b358ee647809019813f106eb901f466a3846d98 (diff)
downloadcpython-5217328f93f599755bd70418952392c54f705a71.tar.gz
cpython-5217328f93f599755bd70418952392c54f705a71.zip
gh-121798: Add class method Decimal.from_number() (GH-121801)
It is an alternate constructor which only accepts a single numeric argument. Unlike to Decimal.from_float() it accepts also Decimal. Unlike to the standard constructor, it does not accept strings and tuples.
Diffstat (limited to 'Python/bytecodes.c')
0 files changed, 0 insertions, 0 deletions