Fix docstring for is_right_punct(). (#3044)

This commit is contained in:
Shooter23 2018-12-14 04:11:11 -05:00 committed by Ines Montani
parent e5685d98a2
commit 6ae8e49bff

View File

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