Return a repr() for a list/tuple
(data)
| 154 | |
| 155 | |
| 156 | def _tuple_repr(data): |
| 157 | """Return a repr() for a list/tuple""" |
| 158 | if len(data) == 1: |
| 159 | return "(%s,)" % rpr(data[0]) |
| 160 | else: |
| 161 | return "(%s)" % ", ".join([rpr(x) for x in data]) |
| 162 | |
| 163 | |
| 164 | def output_prefixdata_code(prefixdata, outfilename, module_prefix, varprefix, per_locale, chunks): |
no test coverage detected