diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-06-16 05:43:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-16 05:43:19 (GMT) |
commit | f94cb788f96c2ba29f6d2f19dd0bb08256072ef9 (patch) | |
tree | 3cf309246b2eead8b13ff33ba55a33eb894c7a90 /Python/compile.c | |
parent | 0cb670f7e2c7b5951e520d7bd5ca20d103ba8810 (diff) | |
download | cpython-f94cb788f96c2ba29f6d2f19dd0bb08256072ef9.zip cpython-f94cb788f96c2ba29f6d2f19dd0bb08256072ef9.tar.gz cpython-f94cb788f96c2ba29f6d2f19dd0bb08256072ef9.tar.bz2 |
[3.12] tarfile: Fix positional-only syntax in docs (GH-105770) (#105773)
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/compile.c')
0 files changed, 0 insertions, 0 deletions