added python 3.10 support

This commit is contained in:
GawdOfROFL
2021-10-10 00:52:41 +05:30
parent fd6985370d
commit e4e3a9f4ed
7 changed files with 132 additions and 3 deletions

View File

@@ -157,7 +157,12 @@ void PycModule::setVersion(unsigned int magic)
m_min = 9;
m_unicode = true;
break;
case MAGIC_3_10:
m_maj = 3;
m_min = 10;
m_unicode = true;
break;
/* Bad Magic detected */
default:
m_maj = -1;