Commit baf29b2
authored
Reuse identifier of PREDICT macros as PREDICT_ID (GH-17155)
In function `_PyEval_EvalFrameDefault`, macros PREDICT and PREDICTED use the same identifier creation scheme, which may be shared between them, reducing code repetition, and do ensure that the same identifier is generated.1 parent d4331c5 commit baf29b2
1 file changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
921 | 921 | | |
922 | 922 | | |
923 | 923 | | |
| 924 | + | |
| 925 | + | |
924 | 926 | | |
925 | | - | |
| 927 | + | |
926 | 928 | | |
927 | 929 | | |
928 | | - | |
| 930 | + | |
929 | 931 | | |
930 | 932 | | |
931 | | - | |
| 933 | + | |
932 | 934 | | |
933 | 935 | | |
934 | | - | |
| 936 | + | |
935 | 937 | | |
936 | 938 | | |
937 | 939 | | |
938 | | - | |
| 940 | + | |
939 | 941 | | |
940 | 942 | | |
941 | 943 | | |
| |||
0 commit comments