Skip to content

Commit

Permalink
Merge pull request #9 from ogasser/master
Browse files Browse the repository at this point in the history
PyModuleDef.m_reload was removed in Python 3.5
  • Loading branch information
montag451 committed Dec 11, 2015
2 parents 1d1ef02 + 8c21571 commit 1a2f2f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pytun.c
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,11 @@ static struct PyModuleDef pytun_module =
.m_doc = NULL,
.m_size = -1,
.m_methods = NULL,
#if PY_MINOR_VERSION <= 4
.m_reload = NULL,
#else
.m_slots = NULL,
#endif
.m_traverse = NULL,
.m_clear = NULL,
.m_free = NULL
Expand Down

0 comments on commit 1a2f2f4

Please sign in to comment.