Move code from decimal.pyi to _decimal.pyi (#7640)

* Move code from `decimal.pyi` to `_decimal.pyi`

The stub previously did `from decimal import *` in `_decimal.pyi`, but the opposite happens at runtime.
This commit is contained in:
Alex Waygood authored and GitHub committed 2022-04-16 17:01:13 +01:00
1 parent 7a3eb5a481
commit 2e98c8284c
3 files changed
+265 -265

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ import sys
# This is a slight lie, the implementations aren't exactly identical
# However, in all likelihood, the differences are inconsequential
from decimal import *
from _decimal import *
if sys.version_info >= (3, 7):
__all__ = [