cpython/Doc/c-api
Serhiy Storchaka 69368ebc33
[3.13] gh-158102: Add tests for the slice C API (GH-158120) (GH-158293)
Test PySlice_Check(), PySlice_New(), PySlice_GetIndices(), PySlice_Unpack(),
PySlice_AdjustIndices() and PySlice_GetIndicesEx() -- both the macro and the
deprecated function.

Document the length and step precondition of PySlice_AdjustIndices()
(cherry picked from commit 8c056c33aa)

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2026-09-29 15:38:46 +03:00
..
abstract.rst
allocation.rst [3.13] Add a new Sphinx soft-deprecated directive (GH-148630) (#148715) 2026-06-14 19:08:04 +03:00
apiabiversion.rst
arg.rst [3.13] gh-74366: Fix the documentation of "$" in PyArg_ParseTupleAndKeywords() (GH-155301) (GH-155310) 2026-08-07 07:36:09 +03:00
bool.rst
buffer.rst
bytearray.rst [3.13] gh-156939: Document that PyBytesObject ends with a NUL byte (GH-157236) (#157552) 2026-09-15 14:53:11 +02:00
bytes.rst [3.13] gh-156939: Document that PyBytesObject ends with a NUL byte (GH-157236) (#157552) 2026-09-15 14:53:11 +02:00
call.rst
capsule.rst
cell.rst
code.rst
codec.rst
complex.rst
concrete.rst
contextvars.rst
conversion.rst
coro.rst
curses.rst
datetime.rst
descriptor.rst [3.13] Docs: fill in descriptor C API docs (GH-146644) (GH-153759) 2026-07-15 14:30:54 +03:00
dict.rst [3.13] gh-144473: Add "steal" term to glossary; clarify "stealing" onerror (GH-144502) (GH-152772) (GH-152779) 2026-07-02 10:07:33 +02:00
exceptions.rst [3.13] gh-105812: Make use of the Sphinx deco role in documentation (GH-139598) (#154983) 2026-07-31 09:31:44 +00:00
file.rst [3.13] gh-146056: Fix repr() for lists containing NULLs (GH-146129) (GH-146155) (GH-146271) 2026-03-22 08:06:17 +00:00
float.rst [3.13] Fix typos and grammar errors across documentation (GH-144709) (#144804) 2026-02-17 12:56:29 +00:00
frame.rst [3.13] gh-152105: Remove docs snippet that uses internal C API (GH-155122) (GH-155240) 2026-08-06 13:32:57 +02:00
function.rst
gcsupport.rst
gen.rst [3.13] gh-144473: Add "steal" term to glossary; clarify "stealing" onerror (GH-144502) (GH-152772) (GH-152779) 2026-07-02 10:07:33 +02:00
hash.rst
import.rst
index.rst
init.rst [3.13] Fix typos and grammar errors across documentation (GH-144709) (#144804) 2026-02-17 12:56:29 +00:00
init_config.rst [3.13] gh-151941: Fix Sphinx reference warnings in Doc/c-api/ (GH-152044) (GH-154922) 2026-07-30 09:12:54 -04:00
intro.rst [3.13] gh-151941: Fix Sphinx reference warnings in Doc/c-api/ (GH-152044) (GH-154922) 2026-07-30 09:12:54 -04:00
iter.rst
iterator.rst
list.rst [3.13] gh-144473: Add "steal" term to glossary; clarify "stealing" onerror (GH-144502) (GH-152772) (GH-152779) 2026-07-02 10:07:33 +02:00
long.rst [3.13] Add a new Sphinx soft-deprecated directive (GH-148630) (#148715) 2026-06-14 19:08:04 +03:00
mapping.rst
marshal.rst
memory.rst [3.13] Docs: Fix typos in the "Memory Management" section (GH-151243) 2026-06-10 13:20:03 +00:00
memoryview.rst
method.rst
module.rst [3.13] gh-144473: Add "steal" term to glossary; clarify "stealing" onerror (GH-144502) (GH-152772) (GH-152779) 2026-07-02 10:07:33 +02:00
monitoring.rst [3.13] Add a new Sphinx soft-deprecated directive (GH-148630) (#148715) 2026-06-14 19:08:04 +03:00
none.rst
number.rst
object.rst [3.13] gh-146056: Fix repr() for lists containing NULLs (GH-146129) (GH-146155) (GH-146271) 2026-03-22 08:06:17 +00:00
objimpl.rst
perfmaps.rst [3.13] gh-141004: Document unstable perf map functions in ceval.h (GH-143492) (GH-153996) 2026-07-18 15:06:02 +00:00
picklebuffer.rst
refcounting.rst
reflection.rst
sequence.rst [3.13] gh-144473: Add "steal" term to glossary; clarify "stealing" onerror (GH-144502) (GH-152772) (GH-152779) 2026-07-02 10:07:33 +02:00
set.rst
slice.rst [3.13] gh-158102: Add tests for the slice C API (GH-158120) (GH-158293) 2026-09-29 15:38:46 +03:00
stable.rst
structures.rst [3.13] gh-105812: Make use of the Sphinx deco role in documentation (GH-139598) (#154983) 2026-07-31 09:31:44 +00:00
sys.rst
time.rst
tuple.rst [3.13] gh-144473: Add "steal" term to glossary; clarify "stealing" onerror (GH-144502) (GH-152772) (GH-152779) 2026-07-02 10:07:33 +02:00
type.rst [3.13] Docs: Fix incomplete sentence in tp_itemsize documentation (GH-152381) (GH-152423) 2026-07-01 13:52:33 +02:00
typehints.rst [3.13] gh-150319: Replace all documentation which says "See PEP 585" (#150325) (#150814) 2026-06-02 22:26:33 +00:00
typeobj.rst [3.13] gh-101100: Fix Sphinx warnings in 'Buffer Object Structures' documentation (GH-151058) (#151071) 2026-06-09 22:21:51 +02:00
unicode.rst [3.13] Fix minor typos in unicode.rst (GH-149587) (#150163) 2026-05-20 15:37:06 +00:00
utilities.rst
veryhigh.rst [3.13] gh-141004: Document remaining PyCF_* compiler flag macros (GH-153958) (GH-153986) 2026-07-18 14:49:16 +00:00
weakref.rst [3.13] gh-80384: Fix docs for PyWeakref_NewRef() and PyWeakref_NewProxy() (GH-151146) (GH-151233) 2026-06-10 10:48:23 +00:00