https://github.com/python/cpython/commit/7ab68cd50658f76abc9e0f12e6212736e2440720 commit: 7ab68cd50658f76abc9e0f12e6212736e2440720 branch: main author: Bartosz Sławecki <bart...@ilikepython.com> committer: ZeroIntensity <zintensity...@gmail.com> date: 2025-08-07T09:50:49-04:00 summary:
gh-137440: Update comment in Python/hamt.c on importing for testing (GH-137441) Switch from `_testcapi` to `_testinternalcapi`. files: M Python/hamt.c diff --git a/Python/hamt.c b/Python/hamt.c index 906149cc6cdbdc..e372b1a1b4c18b 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 -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: arch...@mail-archive.com