The bill had proceeded through the Commons and would be considered next by the House of Lords.
Roedd y Bil wedi mynd drwy Dŷ'r Cyffredin a byddai'n cael ei ystyried nesaf gan Dŷ'r Arglwyddi.