Commit 027bb6a
python3: set PyEtherInfo.tp_flags to Py_TPFLAGS_DEFAULT
The tp_flags field is basically feature flags. The Py2 features are assumed
for Py3 and thus are no longer defined. Just use Py_TPFLAGS_DEFAULT.
Furthermore, Py_TPFLAGS_DEFAULT should also work when building against
Python 2 -- TPFLAGS_DEFAULT includes TPFLAGS_HAVE_CLASS.
Signed-off-by: Andy Grover <agrover@redhat.com>1 parent 65528b9 commit 027bb6a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
| 283 | + | |
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| |||
0 commit comments