mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
Fix syntax error while fixing doc strings
This commit is contained in:
parent
62fc6b1afa
commit
e7af6b937f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user