mirror of
https://github.com/python/cpython.git
synced 2025-10-19 16:03:42 +00:00
[3.13] gh-137440: Update comment in Python/hamt.c on importing for testing (GH-137441) (GH-137520)
gh-137440: Update comment in Python/hamt.c on importing for testing (GH-137441)
Switch from `_testcapi` to `_testinternalcapi`.
(cherry picked from commit 7ab68cd506
)
Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
This commit is contained in:
parent
8905f7a99b
commit
599454e65d
1 changed files with 2 additions and 2 deletions
|
@ -256,9 +256,9 @@ Debug
|
|||
=====
|
||||
|
||||
The HAMT datatype is accessible for testing purposes under the
|
||||
`_testcapi` module:
|
||||
`_testinternalcapi` module:
|
||||
|
||||
>>> from _testcapi import hamt
|
||||
>>> from _testinternalcapi import hamt
|
||||
>>> h = hamt()
|
||||
>>> h2 = h.set('a', 2)
|
||||
>>> h3 = h2.set('b', 3)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue