Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3203bdc

Browse files
committed
Update the magic number now that signature annotations were added.
1 parent c150536 commit 3203bdc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Python/import.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,10 @@ extern time_t PyOS_GetLastModificationTime(char *, FILE *);
7070
3010 (removed UNARY_CONVERT)
7171
3020 (added BUILD_SET)
7272
3030 (added keyword-only parameters)
73+
3040 (added signature annotations)
7374
.
7475
*/
75-
#define MAGIC (3030 | ((long)'\r'<<16) | ((long)'\n'<<24))
76+
#define MAGIC (3040 | ((long)'\r'<<16) | ((long)'\n'<<24))
7677

7778
/* Magic word as global; note that _PyImport_Init() can change the
7879
value of this global to accommodate for alterations of how the

0 commit comments

Comments
 (0)