[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:
Miss Islington (bot) 2025-08-07 18:54:52 +02:00 committed by GitHub
parent 8905f7a99b
commit 599454e65d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -256,9 +256,9 @@ Debug
===== =====
The HAMT datatype is accessible for testing purposes under the The HAMT datatype is accessible for testing purposes under the
`_testcapi` module: `_testinternalcapi` module:
>>> from _testcapi import hamt >>> from _testinternalcapi import hamt
>>> h = hamt() >>> h = hamt()
>>> h2 = h.set('a', 2) >>> h2 = h.set('a', 2)
>>> h3 = h2.set('b', 3) >>> h3 = h2.set('b', 3)