Commit e3d1455f authored by Shivank98's avatar Shivank98 Committed by Zachary Ware

Update opcode.h header comment to mention the source data file (GH-9935)

This is intended to help code explorers find out more about what's defined there.
parent 1deea5e5
/* Auto-generated by Tools/scripts/generate_opcode_h.py */ /* Auto-generated by Tools/scripts/generate_opcode_h.py from Lib/opcode.py */
#ifndef Py_OPCODE_H #ifndef Py_OPCODE_H
#define Py_OPCODE_H #define Py_OPCODE_H
#ifdef __cplusplus #ifdef __cplusplus
......
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
import sys import sys
import tokenize import tokenize
header = """/* Auto-generated by Tools/scripts/generate_opcode_h.py */ header = """
/* Auto-generated by Tools/scripts/generate_opcode_h.py from Lib/opcode.py */
#ifndef Py_OPCODE_H #ifndef Py_OPCODE_H
#define Py_OPCODE_H #define Py_OPCODE_H
#ifdef __cplusplus #ifdef __cplusplus
...@@ -12,7 +13,7 @@ extern "C" { ...@@ -12,7 +13,7 @@ extern "C" {
/* Instruction opcodes for compiled code */ /* Instruction opcodes for compiled code */
""" """.lstrip()
footer = """ footer = """
/* EXCEPT_HANDLER is a special, implicit block type which is created when /* EXCEPT_HANDLER is a special, implicit block type which is created when
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment