mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 03:45:22 +02:00
Forgot to remove unused dot object
This commit is contained in:
parent
d324e776b5
commit
1473f4a83e
1 changed files with 0 additions and 4 deletions
|
|
@ -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…
Reference in a new issue