A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2018-August/154916.html below:

[Python-Dev] Error message for wrong number of arguments

[Python-Dev] Error message for wrong number of arguments [Python-Dev] Error message for wrong number of argumentsJeroen Demeyer J.Demeyer at UGent.be
Fri Aug 3 09:32:40 EDT 2018
Actually, I just realized that it's not really possible to fix the error 
messages for built-in methods. The problem is that Argument Clinic does 
not know whether a function or method is being handled. For example, 
there is no indication at all that this is a method (note that the name 
"list.insert" might refer to a function "insert" inside a module called 
"list" or a method "insert" or a class "list"):

/*[clinic input]
list.insert

     index: Py_ssize_t
     object: object
     /

Insert object before index.
[clinic start generated code]*/
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4