mirror of
https://github.com/python/cpython.git
synced 2025-11-24 20:30:18 +00:00
gh-137440: Update comment in Python/hamt.c on importing for testing (GH-137441)
Switch from `_testcapi` to `_testinternalcapi`.
This commit is contained in:
parent
baefaa6cba
commit
7ab68cd506
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