{
    "mode": "pydoc",
    "parameter": "opcode",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/pydoc/opcode/json",
    "generated": "2026-06-02T13:18:00Z",
    "sections": {
        "NAME": {
            "content": "opcode\n",
            "subsections": []
        },
        "MODULE REFERENCE": {
            "content": "https://docs.python.org/3.10/library/opcode.html\n\nThe following documentation is automatically generated from the Python\nsource files.  It may be incomplete, incorrect or include features that\nare considered implementation detail and may vary between Python\nimplementations.  When in doubt, consult the module reference at the\nlocation listed above.\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "opcode module - potentially shared between dis and other modules which\noperate on bytecodes (e.g. peephole optimizers).\n",
            "subsections": []
        },
        "FUNCTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "stack_effect",
                    "content": "Compute the stack effect of the opcode.\n"
                }
            ]
        },
        "DATA": {
            "content": "EXTENDEDARG = 144\nHAVEARGUMENT = 90\nall = ['cmpop', 'hasconst', 'hasname', 'hasjrel', 'hasjabs', 'has...\ncmpop = ('<', '<=', '==', '!=', '>', '>=')\nhascompare = [107]\nhasconst = [100]\nhasfree = [135, 136, 137, 138, 148]\nhasjabs = [111, 112, 113, 114, 115, 121]\nhasjrel = [93, 110, 122, 143, 154]\nhaslocal = [124, 125, 126]\nhasname = [90, 91, 95, 96, 97, 98, 101, 106, 108, 109, 116, 160]\nhasnargs = []\nopmap = {'BEFOREASYNCWITH': 52, 'BINARYADD': 23, 'BINARYAND': 64, ...\nopname = ['<0>', 'POPTOP', 'ROTTWO', 'ROTTHREE', 'DUPTOP', 'DUPTO...\n",
            "subsections": []
        },
        "FILE": {
            "content": "/usr/lib/python3.10/opcode.py\n\n",
            "subsections": []
        }
    },
    "summary": "opcode",
    "flags": [],
    "examples": [],
    "see_also": []
}