Convenience method to join strings with dots :rtype: str
(*tup)
| 43 | |
| 44 | |
| 45 | def djoin(*tup): |
| 46 | """ |
| 47 | Convenience method to join strings with dots |
| 48 | :rtype: str |
| 49 | """ |
| 50 | if len(tup) == 1 and isinstance(tup[0], list): |
| 51 | return '.'.join(tup[0]) |
| 52 | return '.'.join(tup) |
| 53 | |
| 54 | |
| 55 | def flatten(list_of_lists): |
no outgoing calls
no test coverage detected