Chain#pop does not return tuples

This commit is contained in:
Pierre Chapuis 2024-02-02 17:06:55 +01:00 committed by Cédric Deltheil
parent a779f86941
commit fbb1fcb8ff

View file

@ -496,7 +496,7 @@ class Chain(ContextModule):
""" """
self.insert(-1, module) self.insert(-1, module)
def pop(self, index: int = -1) -> Module | tuple[Module]: def pop(self, index: int = -1) -> Module:
"""Pop a module from the chain at the given index. """Pop a module from the chain at the given index.
Args: Args: