From e7af6b937f3d85d8bd86ac5a61668d178f0ab6f4 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 1 Nov 2016 13:27:32 +0100 Subject: [PATCH] Fix syntax error while fixing doc strings --- spacy/tokens/doc.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/tokens/doc.pyx b/spacy/tokens/doc.pyx index 5f668a424..32106da99 100644 --- a/spacy/tokens/doc.pyx +++ b/spacy/tokens/doc.pyx @@ -284,7 +284,7 @@ cdef class Doc: def string(self): return self.text - property text + property text: '''A unicode representation of the document text.''' def __get__(self): return u''.join(t.text_with_ws for t in self)