Skip to content

Inconsistent return type from click.getchar() #822

@pkch

Description

@pkch

It seems that click.getchar() will return bytes under python 3 / Windows, and str under any other combination of python version and platform. Is this the intended behavior or a bug?

I wanted to update the stub for click but if it's a bug and can be fixed soon, I can leave the typeshed stub unchanged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions