gh-137440: Update comment in Python/hamt.c on importing for testing (GH-137441)
Switch from `_testcapi` to `_testinternalcapi`.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user