Fix syntax error while fixing doc strings

This commit is contained in:
Matthew Honnibal 2016-11-01 13:27:32 +01:00
parent 62fc6b1afa
commit e7af6b937f

View File

@ -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)