[fix] Python 3 version of tokenize/normalize
This commit is contained in:
@@ -271,7 +271,7 @@ static struct PyModuleDef module_def = {
|
|||||||
#define INITERROR return NULL
|
#define INITERROR return NULL
|
||||||
|
|
||||||
PyObject *
|
PyObject *
|
||||||
PyInit_normalize(void)
|
PyInit_normalize(void) {
|
||||||
#else
|
#else
|
||||||
#define INITERROR return
|
#define INITERROR return
|
||||||
|
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ static struct PyModuleDef module_def = {
|
|||||||
#define INITERROR return NULL
|
#define INITERROR return NULL
|
||||||
|
|
||||||
PyObject *
|
PyObject *
|
||||||
PyInit_tokenize(void)
|
PyInit_tokenize(void) {
|
||||||
#else
|
#else
|
||||||
#define INITERROR return
|
#define INITERROR return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user