I just came across this function:
def splitComma(line: str):
splits = Utils.COMMA_DELIMITER.split(line)
return "{}, {}".format(splits[1], splits[2])
I am aware that you can separate parameters by , or can set a value within a parameter like a=39
but I have not seen a colon like line:str
. I have checked the function definition online but could not find anything like this. What does this colon mean?