Commit ba36389
authored
[3.12] pythongh-131181: Assert that PyObject_stgdict isn't NULL for PyCData (python#131188)
PyCData types have stgdict, so `PyObject_stgdict` can not return NULL.
Add an assert to make this clear.1 parent 969631a commit ba36389
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2826 | 2826 | | |
2827 | 2827 | | |
2828 | 2828 | | |
| 2829 | + | |
2829 | 2830 | | |
2830 | 2831 | | |
2831 | 2832 | | |
| |||
2862 | 2863 | | |
2863 | 2864 | | |
2864 | 2865 | | |
2865 | | - | |
| 2866 | + | |
| 2867 | + | |
| 2868 | + | |
| 2869 | + | |
2866 | 2870 | | |
2867 | 2871 | | |
2868 | 2872 | | |
| |||
0 commit comments