On 6/30/2018 7:27 AM, Abdur-Rahmaan Janhangeer wrote:
normally, naming methods in python is given bymethod_name but i see some cases where this is not followed in the std lib ex : dict.fromkeys should it not have been from_keys?
No. _ is an option, not a requirement and usually not used for short names. -- Terry Jan Reedy -- https://mail.python.org/mailman/listinfo/python-list