is_non_string_iterable

  • full name: tenpy.tools.string.is_non_string_iterable

  • parent module: tenpy.tools.string

  • type: function

tenpy.tools.string.is_non_string_iterable(x)[source]

Check if x is a non-string iterable, (e.g., list, tuple, dictionary, np.ndarray)