mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Forgot to remove unused dot object
This commit is contained in:
parent
d324e776b5
commit
1473f4a83e
@ -203,7 +203,6 @@ tokenize_init(PyObject *self, PyObject *args) {
|
||||
#endif
|
||||
|
||||
#define END_ITER_CODE_PTS }}
|
||||
static PyObject *dot = NULL;
|
||||
|
||||
static PyObject *unicode_to_number(PyObject *src) {
|
||||
#if PY_MAJOR_VERSION >= 3
|
||||
@ -499,9 +498,6 @@ CALIBRE_MODINIT_FUNC inittokenizer(void) {
|
||||
Py_INCREF(&tokenizer_TokenType);
|
||||
PyModule_AddObject(mod, "Token", (PyObject *) &tokenizer_TokenType);
|
||||
|
||||
dot = PyUnicode_FromString(".");
|
||||
if (dot == NULL) INITERROR;
|
||||
|
||||
#if PY_MAJOR_VERSION >= 3
|
||||
return mod;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user