https://github.com/python/cpython/commit/599454e65d3d45ca2a88b33d7de3145a753a5ed5
commit: 599454e65d3d45ca2a88b33d7de3145a753a5ed5
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: ZeroIntensity <[email protected]>
date: 2025-08-07T16:54:52Z
summary:

[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 7ab68cd50658f76abc9e0f12e6212736e2440720)

Co-authored-by: Bartosz SÅ‚awecki <[email protected]>

files:
M Python/hamt.c

diff --git a/Python/hamt.c b/Python/hamt.c
index a8fbb00b807934..91abaecd3e7287 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)

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to