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/154901.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 argumentsArmin Rigo armin.rigo at gmail.com
Wed Aug 1 17:40:46 EDT 2018
Hi,

On 30 July 2018 at 22:19, Chris Barker via Python-Dev
<python-dev at python.org> wrote:
> Oh well. This is a serious usability issue -- but what can you do?

I think that argument clinic knows if the built-in function is
supposed to be a method or a function.  It doesn't look too hard to
add a new flag METH_IS_METHOD or something, which would be taken in
consideration in the common cases, and which can be added manually OR
used automatically by argument clinic.  This would not be a 100%
solution out of the box, but if the new wording is right, it shouldn't
be a problem.


A bientôt,

Armin.
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