Skip to content

Commit

Permalink
Python 3.10 compatibility (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
catap authored Nov 17, 2021
1 parent d10ce5c commit 44409e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions unicodedata2/unicodedata.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@

#include "Python.h"
#ifndef PYPY_VERSION
#if PY_MINOR_VERSION < 10
#include "ucnhash.h"
#else
#define Py_BUILD_CORE
#include "internal/pycore_ucnhash.h"
#endif
#endif
#include "structmember.h"
#include "unicodectype.h"
Expand Down

0 comments on commit 44409e0

Please sign in to comment.