Staging
v0.8.1
https://github.com/python/cpython
Revision 32bd68c839adb7b42af12366ab0892303115d1d1 authored by Victor Stinner on 01 December 2020, 09:37:39 UTC, committed by GitHub on 01 December 2020, 09:37:39 UTC
No longer use deprecated aliases to functions:

* Replace PyObject_MALLOC() with PyObject_Malloc()
* Replace PyObject_REALLOC() with PyObject_Realloc()
* Replace PyObject_FREE() with PyObject_Free()
* Replace PyObject_Del() with PyObject_Free()
* Replace PyObject_DEL() with PyObject_Free()
1 parent 00d7abd
Raw File
Tip revision: 32bd68c839adb7b42af12366ab0892303115d1d1 authored by Victor Stinner on 01 December 2020, 09:37:39 UTC
bpo-42519: Replace PyObject_MALLOC() with PyObject_Malloc() (GH-23587)
Tip revision: 32bd68c
decimal.py

try:
    from _decimal import *
    from _decimal import __doc__
    from _decimal import __version__
    from _decimal import __libmpdec_version__
except ImportError:
    from _pydecimal import *
    from _pydecimal import __doc__
    from _pydecimal import __version__
    from _pydecimal import __libmpdec_version__
back to top