From adeb57cb1ee572aed0f1c76bceb85d6411314dd6 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 1 Jun 2015 23:07:00 +0200 Subject: [PATCH] * Fix long line --- spacy/vocab.pyx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spacy/vocab.pyx b/spacy/vocab.pyx index 87a6eb621..512106757 100644 --- a/spacy/vocab.pyx +++ b/spacy/vocab.pyx @@ -104,7 +104,9 @@ cdef class Vocab: slice_unicode(&c_str, id_or_string, 0, len(id_or_string)) lexeme = self.get(self.mem, &c_str) else: - raise ValueError("Vocab unable to map type: %s. Maps unicode --> Lexeme or int --> Lexeme" % str(type(id_or_string))) + raise ValueError("Vocab unable to map type: " + "%s. Maps unicode --> Lexeme or " + "int --> Lexeme" % str(type(id_or_string))) return Lexeme.from_ptr(lexeme, self.strings) def __setitem__(self, unicode py_str, dict props):