diff --git a/docs/sly.rst b/docs/sly.rst index 5382c7d..b49d28f 100644 --- a/docs/sly.rst +++ b/docs/sly.rst @@ -351,7 +351,7 @@ appropriately. For example:: return t @_(r'\}') - def rbrace(t): + def rbrace(self, t): t.type = '}' # Set token type to the expected literal self.nesting_level -=1 return t