It's a snake scab.

Snake scabs are yellow/brown. It is an injury, and it will pass within the next couple of sheds.

Make sure to watch it carefully, and if it doesn't pass in a month or so, take him to the vet again.