]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
tarfile: Fix positional-only syntax in docs (GH-105770)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Wed, 14 Jun 2023 07:26:48 +0000 (00:26 -0700)
committerGitHub <noreply@github.com>
Wed, 14 Jun 2023 07:26:48 +0000 (09:26 +0200)
commit5cdd5ba49db10f05e204e7a49ce184222a93dce8
tree3bae884b11b2b01759d69ab0f98c2bbf9b26346b
parent6199fe3b3236748033a7ce2559aeddb5a91bbbd9
tarfile: Fix positional-only syntax in docs (GH-105770)

The syntax used in the current docs (a / before any args) is invalid.

I think the right approach is for the arguments to arbitrary
filter functions to be treated as positional-only, meaning that users
can supply filter functions with any names for the argument. tarfile.py
only calls the filter function with positional arguments.
Doc/library/tarfile.rst