mirror of
https://github.com/python/cpython.git
synced 2025-08-25 03:04:55 +00:00
Issue #19218: Rename collections.abc to _collections_abc in order to speed up interpreter start
This commit is contained in:
parent
ad9c9bb5a9
commit
f1dc3ee16d
7 changed files with 14 additions and 6 deletions
|
@ -41,7 +41,7 @@ from types import MethodType as _MethodType, BuiltinMethodType as _BuiltinMethod
|
|||
from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as _ceil
|
||||
from math import sqrt as _sqrt, acos as _acos, cos as _cos, sin as _sin
|
||||
from os import urandom as _urandom
|
||||
from collections.abc import Set as _Set, Sequence as _Sequence
|
||||
from _collections_abc import Set as _Set, Sequence as _Sequence
|
||||
from hashlib import sha512 as _sha512
|
||||
|
||||
__all__ = ["Random","seed","random","uniform","randint","choice","sample",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue