Implementation of _split() in docs

Hi all,
I have been trying to understand how ImageList.split_rand_by_pct internally works by reading the docs.
Following the chain of function calls, I ended up at _split() function, as you can see here. I couldn’t find the docs for it, to understand its implementation. Can anybody please point to the docs link or explain its implementation?