[3.14] gh-137440: Update comment in Python/hamt.c on importing for testing (GH-137441) (#137519)

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-10-07 20:47:26 +02:00 committed by GitHub
parent e09f33e5bf
commit ac147be05f
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
`_testcapi` module:
`_testinternalcapi` module:
>>> from _testcapi import hamt
>>> from _testinternalcapi import hamt
>>> h = hamt()
>>> h2 = h.set('a', 2)
>>> h3 = h2.set('b', 3)