mirror of
https://github.com/josejuanmartinez/libreCatastro.git
synced 2024-06-12 19:54:07 +02:00
9 lines
239 B
Python
9 lines
239 B
Python
class ListUtils:
|
|
""" Different functions for make working with lists easier"""
|
|
def __init__(self):
|
|
pass
|
|
|
|
@staticmethod
|
|
def flat(non_flat_list):
|
|
return [item for sublist in non_flat_list for item in sublist]
|