Logo
Explore Help
Sign In
1berry/cpython
1
0
Fork 0
You've already forked cpython
Code Issues Packages Projects Releases Wiki Activity
cpython/Lib/decimal.py

12 lines
320 B
Python
Raw Normal View History

Move Decimal from the sandbox into production.
2004-07-01 11:01:35 +00:00
Merged revisions 70439 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r70439 | mark.dickinson | 2009-03-17 23:03:46 +0000 (Tue, 17 Mar 2009) | 3 lines Issue #2110: Add support for thousands separator and 'n' format specifier to Decimal __format__ method. ........
2009-03-17 23:12:51 +00:00
try:
Issue #19232: Speed up decimal import. Additionally, since _decimal is self-contained, this change facilitates maintenance and the Python version can be easily imported for experimentation.
2014-09-10 17:58:15 +02:00
from _decimal import *
from _decimal import __doc__
from _decimal import __version__
from _decimal import __libmpdec_version__
Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)
2013-07-04 17:43:24 -04:00
except ImportError:
Issue #19232: Speed up decimal import. Additionally, since _decimal is self-contained, this change facilitates maintenance and the Python version can be easily imported for experimentation.
2014-09-10 17:58:15 +02:00
from _pydecimal import *
from _pydecimal import __doc__
from _pydecimal import __version__
from _pydecimal import __libmpdec_version__
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 1780ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API