]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-137440: Update comment in Python/hamt.c on importing for testing (GH-137441...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 7 Aug 2025 16:54:52 +0000 (18:54 +0200)
committerGitHub <noreply@github.com>
Thu, 7 Aug 2025 16:54:52 +0000 (16:54 +0000)
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 <bartosz@ilikepython.com>
Python/hamt.c

index a8fbb00b807934064bbdfa098638cc9a18d62f8d..91abaecd3e72878202fa3681c2fef427c9c0b938 100644 (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)