Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-94590: add signatures to operator itemgetter, attrgetter, methodcaller #94591

Merged
merged 1 commit into from
Oct 6, 2022

Commits on Jul 6, 2022

  1. pythongh-94590: add signatures to operator itemgetter, attrgetter, me…

    …thodcaller
    
    These were intentionally skipped when operator was updated to use the argument clinic:
    python#64385 (comment)
    
    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`.
    eriknw committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    2b82291 View commit details
    Browse the repository at this point in the history