1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-08-08 22:36:48 +02:00

change variable name from list to my_list

This commit is contained in:
Kelly Brazil
2022-06-02 08:34:51 -07:00
parent ec8efebc94
commit a5d5b1554f

View File

@ -144,9 +144,9 @@ def _process(proc_data):
return proc_data return proc_data
def _get_item(list, index, default=None): def _get_item(my_list, index, default=None):
if index < len(list): if index < len(my_list):
return list[index] return my_list[index]
return default return default