tuplify

Contents

tuplify#

discopy.python.tuplify(stuff)[source]#

Turns anything into a tuple, do nothing if it is already.

Parameters:

stuff (any) – The stuff to turn into a tuple.

Return type:

tuple