From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 7 Oct 2025 18:47:26 +0000 (+0200) Subject: [3.14] gh-137440: Update comment in Python/hamt.c on importing for testing (GH-137441... X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ac147be05f127a304b04285570b945b45af5070a;p=thirdparty%2FPython%2Fcpython.git [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 7ab68cd50658f76abc9e0f12e6212736e2440720) Co-authored-by: Bartosz Sławecki --- diff --git a/Python/hamt.c b/Python/hamt.c index 906149cc6cdb..e372b1a1b4c1 100644 --- a/Python/hamt.c +++ b/Python/hamt.c @@ -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)