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
2022-04-16 17:01:13 +01:00
committed by GitHub
parent 7a3eb5a481
commit 2e98c8284c
3 changed files with 265 additions and 265 deletions

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__ = [