tests/graph_test.py
def _to_strings(self, l):
        """Convert all nested objects in l to string."""
        if isinstance(l, list):
            return [self._to_strings(e) for e in l]
        elif isinstance(l, tuple):
            return tuple([self._to_strings(e) for e in l])
        else:
            return str(l)
Convert all nested objects in l to string.
Convert all nested objects in l to string.
Convert all nested objects in l to string .
def _to_strings(self, l):
        if isinstance(l, list):
            return [self._to_strings(e) for e in l]
        elif isinstance(l, tuple):
            return tuple([self._to_strings(e) for e in l])
        else:
            return str(l)
def _to_strings ( self , l ) : if isinstance ( l , list ) : return [ self . _to_strings ( e ) for e in l ] elif isinstance ( l , tuple ) : return tuple ( [ self . _to_strings ( e ) for e in l ] ) else : return str ( l )
Convert all nested objects in l to string.
Convert all nested objects in l to string .
"""Convert all nested objects in l to string."""
self
l