diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-06-16 05:43:30 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-16 05:43:30 (GMT) |
| commit | aa927f9f9684454b3022f65baca12b6e2a8c0721 (patch) | |
| tree | c6822ab9392a946fee923ff2592bb8cf2e508039 /Python/pythonrun.c | |
| parent | c0c41868587cea93f69e02311406555a99902183 (diff) | |
| download | cpython-aa927f9f9684454b3022f65baca12b6e2a8c0721.zip cpython-aa927f9f9684454b3022f65baca12b6e2a8c0721.tar.gz cpython-aa927f9f9684454b3022f65baca12b6e2a8c0721.tar.bz2 | |
[3.11] tarfile: Fix positional-only syntax in docs (GH-105770) (#105772)
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.
(cherry picked from commit 5cdd5ba49db10f05e204e7a49ce184222a93dce8)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
