Skip to content

Commit b6cbb87

Browse files
committed
reword comment
1 parent 90a35be commit b6cbb87

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Python/codegen.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -678,10 +678,9 @@ codegen_leave_annotations_scope(compiler *c, location loc,
678678

679679
// We want the parameter to __annotate__ to be named "format" in the
680680
// signature shown by inspect.signature(), but we need to use a
681-
// different name (.format) in the symtable so that if the name
682-
// "format" appears in the annotations, it does not get clobbered
683-
// by this name.
684-
// This code is essentially:
681+
// different name (.format) in the symtable; if the name
682+
// "format" appears in the annotations, it doesn't get clobbered
683+
// by this name. This code is essentially:
685684
// co->co_localsplusnames = ("format", *co->co_localsplusnames[1:])
686685
const Py_ssize_t size = PyObject_Size(co->co_localsplusnames);
687686
if (size == -1) {

0 commit comments

Comments
 (0)