FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Document how to use varargs in Argument Clinic by skirpichev · Pull Request #1629 · python/devguide · GitHub

Repository navigation

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension .rst  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
Prev Previous commit
Next Next commit
Apply suggestions from code review
  • Loading branch information
skirpichev authored Aug 15, 2025
commit 18e9be616c9374336c0592eecbb611c50601700c
4 changes: 2 additions & 2 deletions development-tools/clinic.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -1499,14 +1499,14 @@ How to convert var-positional parameter functions
-------------------------------------------------

To convert a var-positional parameter function, prepend the parameter name
with ``*`` and use the the ``object`` converter.
with ``*`` and use the the ``array`` converter.
For example::

/*[clinic input]
var_positional_sample

foo: int
*args: object
*args: array
[clinic start generated code]*/

The implementation function will receive var-positional arguments
Expand Down

Back | FazBrowse Home | New Git URL