<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_digit_list(alist: [str], from_index: int) -> ([str], [str]):
 # type: ignore """ Returns a list of items removed from a given list of strings that are all digits from 'from_index' until hitting a non-digit item """

    ret = []
    alist.pop(from_index)
    while len(alist) > from_index and alist[from_index].isdigit():
        ret.append(alist.pop(from_index))
    return alist, ret