[Python-Dev] Error message for wrong number of arguments
Nick Coghlan
ncoghlan at gmail.com
Mon Jul 30 11:28:28 EDT 2018
More information about the Python-Dev mailing list
Mon Jul 30 11:28:28 EDT 2018
- Previous message (by thread): [Python-Dev] Error message for wrong number of arguments
- Next message (by thread): [Python-Dev] Error message for wrong number of arguments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 30 July 2018 at 22:12, Jeroen Demeyer <J.Demeyer at ugent.be> wrote: > I think it has been argued before that it's a feature that self is counted. > So I consider the error message for list().append a bug. This is one of the > many oddities I noticed while working on improving built-in functions. > > Would you agree to change the error message for built-in methods to be > closer to Python methods? I would, and I think it would make sense for the PEP to cite improving consistency (and reducing code duplication?) in that regard as an advantage of the PEP. Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
- Previous message (by thread): [Python-Dev] Error message for wrong number of arguments
- Next message (by thread): [Python-Dev] Error message for wrong number of arguments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list