Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6088759
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:01:22+00:00 2026-05-23T12:01:22+00:00

With pure Python functions you can pass arguments either by order (e.g. foo(1, 2,

  • 0

With pure Python functions you can pass arguments either by order (e.g. foo(1, 2, 3)) or by name (e.g. foo(a=1, c=3, b=2)).

Functions defined in C modules can use either convention. You cannot say range(stop=10, step=2), and so it is with most but not all functions implemented using C interface.

Is there a way to determine the argument passing convention of a function from within Python?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T12:01:22+00:00Added an answer on May 23, 2026 at 12:01 pm

    It appears to be an open bug: there is simply no way to tell this. Also, the issue is implementation-dependent: your code might work in (for example) PyPy, though I can’t confirm this.

    The devs on the bug page aren’t sure whether to change the documentation style or the implementation, but I get the impression it’s not a pressing issue for them either way.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In pure, unvectorised, Python I can use, >>> a = 9 >>> b =
Is there a pure-Java equivalent to <jsp:forward page=... /> that I can use within
I am looking for a (preferably pure) python library to do AES 256 encryption
I want to use this pure HTML/CSS template for my ASP.NET website: http://sub3.tanguay.de I
Is there a pure python implementation of fractions.Fraction that supports long s as numerator
I'm developing a web game in pure Python, and want some simple scripting available
I've written a pure-Python module for Python 3.0/3.1 which I'd also like to make
Is there a way to program using pure python in Xcode? I want something
I noticed that a significant part of my (pure Python) code deals with tables.
I was searching searching for a pure python module which has functionality equalent to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.