Skip to content

Commit

Permalink
Py3: properly port to Py3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Jul 2, 2022
1 parent fcdec28 commit 6820e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Base/PyObjectBase.cpp
Expand Up @@ -63,7 +63,7 @@ PyObjectBase::PyObjectBase(void* p,PyTypeObject *T)
#if PY_VERSION_HEX < 0x030b0000
Py_TYPE(this) = T;
#else
Py_SET_TYPE(this, T);
this->ob_type = T;
#endif
_Py_NewReference(this);
#ifdef FC_LOGPYOBJECTS
Expand Down

0 comments on commit 6820e0a

Please sign in to comment.