diff options
author | Erik Welch <erik.n.welch@gmail.com> | 2022-10-06 20:35:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-06 20:35:53 (GMT) |
commit | 1c4728cc299953c61e0e1cdb077eefccfd555b87 (patch) | |
tree | 236326c95e51eaf9dd93077120cca98317e9197d /Python/Python-tokenize.c | |
parent | effc25f7f25ae1ac053415addc584b050c022dcb (diff) | |
download | cpython-1c4728cc299953c61e0e1cdb077eefccfd555b87.zip cpython-1c4728cc299953c61e0e1cdb077eefccfd555b87.tar.gz cpython-1c4728cc299953c61e0e1cdb077eefccfd555b87.tar.bz2 |
gh-94590: add signatures to operator itemgetter, attrgetter, methodcaller (#94591)
These were intentionally skipped when operator was updated to use the argument clinic:
https://github.com/python/cpython/issues/64385#issuecomment-1093641466
However, by not using the argument clinic, they missed out on getting signatures.
This is a narrow PR to update the docstrings so that `__text_signature__` can be
extracted from them. Updating to use the argument clinic is beyond scope.
`methodcaller` uses `*args, **kwargs` to match variadic names used elsewhere,
including in `operator.call`.
Diffstat (limited to 'Python/Python-tokenize.c')
0 files changed, 0 insertions, 0 deletions