Error in pad() function of transformers/tokenization_utils_base.py

I thought it was, but when I searched for it, it seems to be an error that appears in some other, weirder place. It seems to be an error of a type that is not allowed when something extra is written.
Deleting a few lines may fix it.