Skip to content

CACHE and SWAP documentation is vague with the meaning of the oparg #96461

Closed
@MatthieuDartiailh

Description

@MatthieuDartiailh

Documentation

The current documentation says that CACHE and SWAP acts on the ith element of the stack but it is nowhere mentioned if the stack is indexed from 0 or 1. Looking at the actual implementation in ceval.c makes the answer obvious but it is tedious and the documentation could be improved I believe.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions