mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 00:46:28 +03:00
Fix docstring for is_right_punct(). (#3044)
This commit is contained in:
parent
e5685d98a2
commit
6ae8e49bff
|
@ -854,7 +854,7 @@ cdef class Token:
|
|||
return Lexeme.c_check_flag(self.c.lex, IS_LEFT_PUNCT)
|
||||
|
||||
property is_right_punct:
|
||||
"""RETURNS (bool): Whether the token is a left punctuation mark."""
|
||||
"""RETURNS (bool): Whether the token is a right punctuation mark."""
|
||||
def __get__(self):
|
||||
return Lexeme.c_check_flag(self.c.lex, IS_RIGHT_PUNCT)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user