mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-13 05:07:03 +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):
|
def string(self):
|
||||||
return self.text
|
return self.text
|
||||||
|
|
||||||
property text
|
property text:
|
||||||
'''A unicode representation of the document text.'''
|
'''A unicode representation of the document text.'''
|
||||||
def __get__(self):
|
def __get__(self):
|
||||||
return u''.join(t.text_with_ws for t in self)
|
return u''.join(t.text_with_ws for t in self)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user