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

Skip to content

Commit 32347fb

Browse files
committed
Update import.c's MAGIC value for the new raise syntax (as opposed to merely updating the comment).
1 parent 7576583 commit 32347fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/import.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ extern time_t PyOS_GetLastModificationTime(char *, FILE *);
7777
3070 (PEP 3109 raise changes)
7878
.
7979
*/
80-
#define MAGIC (3060 | ((long)'\r'<<16) | ((long)'\n'<<24))
80+
#define MAGIC (3070 | ((long)'\r'<<16) | ((long)'\n'<<24))
8181

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

0 commit comments

Comments
 (0)