diff --git a/neologism/dcfg.py b/neologism/dcfg.py index 988553b..86fc504 100644 --- a/neologism/dcfg.py +++ b/neologism/dcfg.py @@ -345,7 +345,7 @@ def is_finite(self) -> bool: return utils.is_multidigraph_finite(self.__graph, self.start_symbol) @property - def sentences(self) -> typing.Set[tuple]: + def sentences(self) -> typing.Set[typing.Tuple[str, ...]]: """ :getter: Returns all possible sentences of the grammar, starting with :attr:`start_symbol`. :type: set[tuple]