mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
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:
@@ -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__ = [
|
||||
|
||||
Reference in New Issue
Block a user