File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -351,11 +351,11 @@ Intrinsic operations
351351
352352.. class :: Intrinsic1Op
353353
354- Enum for the argument of the ``CALL_INSTRINSIC_1 `` instruction (3.12+).
354+ Enum for the argument of the ``CALL_INTRINSIC_1 `` instruction (3.12+).
355355
356- ``INSTRINSIC_1_INVALID ``
357- ``INSTRINSIC_PRINT ``
358- ``INSTRINSIC_IMPORT_STAR ``
356+ ``INTRINSIC_1_INVALID ``
357+ ``INTRINSIC_PRINT ``
358+ ``INTRINSIC_IMPORT_STAR ``
359359 ``INTRINSIC_STOPITERATION_ERROR ``
360360 ``INTRINSIC_ASYNC_GEN_WRAP ``
361361 ``INTRINSIC_UNARY_POSITIVE ``
@@ -368,9 +368,9 @@ Intrinsic operations
368368
369369.. class :: Intrinsic2Op
370370
371- Enum for the argument of the ``CALL_INSTRINSIC_2 `` instruction (3.12+).
371+ Enum for the argument of the ``CALL_INTRINSIC_2 `` instruction (3.12+).
372372
373- ``INSTRINSIC_2_INVALID ``
373+ ``INTRINSIC_2_INVALID ``
374374 ``INTRINSIC_PREP_RERAISE_STAR ``
375375 ``INTRINSIC_TYPEVAR_WITH_BOUND ``
376376 ``INTRINSIC_TYPEVAR_WITH_CONSTRAINTS ``
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ New features:
1717 a ``tuple[bool, bool, str] `` as argument
1818 - ``POP_JUMP_IF_* `` instructions are undirected in Python 3.12
1919 - ``YIELD_VALUE `` now takes an argument
20- - Support for ``CALL_INSTRINSIC_1 /2 `` led to the addition of 2 new enums to
20+ - Support for ``CALL_INTRINSIC_1 /2 `` led to the addition of 2 new enums to
2121 represent the argument
2222
23232023-05-24: Version 0.14.2
Original file line number Diff line number Diff line change @@ -104,9 +104,9 @@ class BinaryOp(enum.IntEnum):
104104
105105@enum .unique
106106class Intrinsic1Op (enum .IntEnum ):
107- INSTRINSIC_1_INVALID = 0
108- INSTRINSIC_PRINT = 1
109- INSTRINSIC_IMPORT_STAR = 2
107+ INTRINSIC_1_INVALID = 0
108+ INTRINSIC_PRINT = 1
109+ INTRINSIC_IMPORT_STAR = 2
110110 INTRINSIC_STOPITERATION_ERROR = 3
111111 INTRINSIC_ASYNC_GEN_WRAP = 4
112112 INTRINSIC_UNARY_POSITIVE = 5
@@ -120,7 +120,7 @@ class Intrinsic1Op(enum.IntEnum):
120120
121121@enum .unique
122122class Intrinsic2Op (enum .IntEnum ):
123- INSTRINSIC_2_INVALID = 0
123+ INTRINSIC_2_INVALID = 0
124124 INTRINSIC_PREP_RERAISE_STAR = 1
125125 INTRINSIC_TYPEVAR_WITH_BOUND = 2
126126 INTRINSIC_TYPEVAR_WITH_CONSTRAINTS = 3
Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ def test_invalid_arg(self):
208208
209209 for name in [opcode .opname [i ] for i in INTRINSIC_1OP ]:
210210 self .assertRaises (TypeError , Instr , name , 1 )
211- Instr (name , Intrinsic1Op .INSTRINSIC_PRINT )
211+ Instr (name , Intrinsic1Op .INTRINSIC_PRINT )
212212
213213 for name in [opcode .opname [i ] for i in INTRINSIC_2OP ]:
214214 self .assertRaises (TypeError , Instr , name , 1 )
You can’t perform that action at this time.
0 commit comments