@@ -398,7 +398,7 @@ Emission of bytecode is handled by the following macros:
398
398
add a specified opcode
399
399
``ADDOP_NOLINE(struct compiler *, int) ``
400
400
like ``ADDOP `` without a line number; used for artificial opcodes without
401
- no corresponding token in the source code
401
+ a corresponding token in the source code
402
402
``ADDOP_IN_SCOPE(struct compiler *, int) ``
403
403
like ``ADDOP ``, but also exits current scope; used for adding return value
404
404
opcodes in lambdas and closures
@@ -421,17 +421,17 @@ Emission of bytecode is handled by the following macros:
421
421
add the ``LOAD_CONST `` opcode with the proper argument based on the
422
422
position of the specified PyObject in the consts table.
423
423
``ADDOP_LOAD_CONST_NEW(struct compiler *, PyObject *) ``
424
- just like ``ADDOP_LOAD_CONST_NEW ``, but steals a reference to PyObject
424
+ just like ``ADDOP_LOAD_CONST ``, but steals a reference to PyObject
425
425
``ADDOP_JUMP(struct compiler *, int, basicblock *) ``
426
426
create a jump to a basic block
427
427
``ADDOP_JUMP_NOLINE(struct compiler *, int, basicblock *) ``
428
428
like ``ADDOP_JUMP `` without a line number; used for artificial jumps
429
- without no corresponding token in the source code.
429
+ without a corresponding token in the source code.
430
430
``ADDOP_JUMP_COMPARE(struct compiler *, cmpop_ty) ``
431
431
depending on the second argument, add an ``ADDOP_I `` with either an
432
432
``IS_OP ``, ``CONTAINS_OP ``, or ``COMPARE_OP `` opcode.
433
433
434
- Several helper functions that will emit bytecode and are named
434
+ Several helper functions that will emit bytecode are named
435
435
:samp: `compiler_{ xx } () ` where *xx * is what the function helps with (``list ``,
436
436
``boolop ``, etc.). A rather useful one is ``compiler_nameop() ``.
437
437
This function looks up the scope of a variable and, based on the
0 commit comments