format_like_list

  • full name: tenpy.tools.string.format_like_list

  • parent module: tenpy.tools.string

  • type: function

tenpy.tools.string.format_like_list(it) str[source]

Format elements of an iterable as if it were a plain list.

This means surrounding them with brackets and separating them by ‘, ‘.