Skip to content

_CallableGenericAlias class and typing.Callable docstring should be corrected #145602

@hyperkai

Description

@hyperkai

Documentation

*Notes:

_CallableGenericAlias class should be corrected for example:

Represent `Callable[argtypes, resulttype]`. -> Represent `Callable[paramtypes, returntype]`.

t_args, t_result = args -> t_params, t_return = args

typing.Callable docstring should be corrected for example:

a function that takes a single parameter -> a function that has a single parameter

... to indicate optional or keyword arguments; -> ... to indicate optional or keyword parameters;

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions