Skip to content

Commit 426b5b3

Browse files
committed
Tidy up
1 parent 6749242 commit 426b5b3

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

Lib/opcode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def jabs_op(name, op):
262262
"CALL_NO_KW_BUILTIN_O",
263263
"CALL_NO_KW_ISINSTANCE",
264264
"CALL_NO_KW_LEN",
265-
"CALL_NO_KW_ALLOC_AND_ENTER_INIT",
265+
"CALL_NO_KW_ALLOC_AND_ENTER_INIT",
266266
"CALL_NO_KW_LIST_APPEND",
267267
"CALL_NO_KW_METHOD_DESCRIPTOR_FAST",
268268
"CALL_NO_KW_METHOD_DESCRIPTOR_NOARGS",

Python/specialize.c

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ typedef enum {
907907
MANAGED_DICT = 2,
908908
OFFSET_DICT = 3,
909909
NO_DICT = 4,
910-
LAZY_DICT = 5,
910+
LAZY_DICT = 5,
911911
} ObjectDictKind;
912912

913913
// Please collect stats carefully before and after modifying. A subtle change
@@ -2015,15 +2015,6 @@ char INIT_CLEANUP_CODE[8] = {
20152015
RETURN_VALUE, 0
20162016
};
20172017

2018-
/* Long form
2019-
LOAD_ASSERTION_ERROR, 0,
2020-
RAISE_VARARGS, 1,
2021-
POP_JUMP_FORWARD_IF_NOT_NONE, 1,
2022-
RETURN_VALUE, 0
2023-
LOAD_CONSTANT TypeError
2024-
LOAD_CONSTANT "__init__() should return None, not
2025-
*/
2026-
20272018
PyFunctionObject *_Py_InitCleanupFunc = NULL;
20282019

20292020
static int

0 commit comments

Comments
 (0)