Pārlūkot izejas kodu

Fix building on Python 3.12 (fixes #312)

tags/v0.6.6
Ben Kurtovic pirms 6 mēnešiem
vecāks
revīzija
fc1440a7b3
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/mwparserfromhell/parser/ctokenizer/tokenizer.c

+ 1
- 1
src/mwparserfromhell/parser/ctokenizer/tokenizer.c Parādīt failu

@@ -88,7 +88,7 @@ init_tokenizer_text(TokenizerInput *text)
text->object = Py_None;
Py_INCREF(Py_None);
text->length = 0;
text->kind = PyUnicode_WCHAR_KIND;
text->kind = PyUnicode_1BYTE_KIND;
text->data = NULL;
}



Notiek ielāde…
Atcelt
Saglabāt